tomatophobia / allowance-chart

다수의 증권 계좌로 구성된 포트폴리오 관리 서비스
1 stars 0 forks source link

E2E 거래내역 파일 등록 성공하기 #60

Closed tomatophobia closed 2 years ago

tomatophobia commented 2 years ago

zio-entity의 Account를 실제 런타임에서 사용하기 위해서는 몇 가지 설정값이 필요한 것으로 보임. 그냥 실행하면 안돌아가서 zio-entity의 entity.conf를 reference.conf로 사용하였음. 로컬 전용으로는 어떻게 만들지 나중에 알아야 한다

zio.entity {
  akka-runtime {
    number-of-shards = 3
    ask-timeout = 10s
    idle-timeout = 10s
  }
}
akka {
  actor {
    provider = cluster
  }
  remote.artery {
    canonical {
        hostname = "127.0.0.1"
        port = 2551
    }
    }
      cluster {
        seed-nodes = [
          "akka://Test@127.0.0.1:2551"]

        downing-provider-class = "akka.cluster.sbr.SplitBrainResolverProvider"
      }
  actor {
    serialization-identifiers {
      "zio.entity.runtime.akka.serialization.MessageSerializer" = 140
    }
    serializers {
      "zio.entity.akka-message-serializer" = "zio.entity.runtime.akka.serialization.MessageSerializer"
    }
    serialization-bindings {
      "zio.entity.runtime.akka.serialization.Message" = "zio.entity.akka-message-serializer"
    }
  }
}