Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
themeDJango
title8001번 포트를 서비스하는 AKKA System 설정
linenumberstrue
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <configSections>
      <section name="akka" type="Akka.Configuration.Hocon.AkkaConfigurationSection, Akka" />
    </configSections>
    <startup> 
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
    </startup>
    <akka>
      <hocon>
        <![CDATA[     
            akka {
              actor {            
                provider = "Akka.Remote.RemoteActorRefProvider, Akka.Remote"
                }
              }
             
              remote {
                log-remote-lifecycle-events = DEBUG
                log-received-messages = on
               
                helios.tcp {
                    port = 8001 #bound to a specific port
                    hostname = 127.0.0.1
                }
              }           
            }         
        ]]>
      </hocon>
    </akka>
</configuration>


실행확인

[WARNING][2017-09-01 오전 7:34:45][Thread 0018][ActorSystem(system)] NewtonSoftJsonSerializer has been detected as a default serializer. It will be obsoleted in Akka.NET starting from version 1.5 in the favor of Hyperion (for more info visit: http://getakka.net/docs/Serialization#how-to-setup-hyperion-as-default-serializer ). If you want to suppress this message set HOCON `akka.suppress-json-serializer-warning` config flag to on.

실행시 , 현재버젼기준 위와같은 경고메시지가 뜨면 성공

Image Added

경고의의미:

( 차기버젼에서 JsonSerialzier가 Hyperion으로 기본 변경예정이니, 바꿀수있으면 바꾸란의미입니다. -라이브러리 성능및 충돌문제 바꾸란의미이며 무시가능 -ASP.net MVC 에서 JSON 라이브러리 충돌시 변경가능   )