Giriş
Şu satırı dahil ederiz
import com.hazelcast.internal.config.MemberDomConfigProcessor;
Ortam değişkeni gibi konfigürasyonu kullanarak Config nesnesindeki alanları override eder
buildConfig metodu
Örnek bir stack trace şöyle. Burada HZ_NETWORK_JOIN_TCPIP_MEMBERS ortam değişkenine değer atadım
handleTcpIp:1659, MemberDomConfigProcessor (com.hazelcast.internal.config)handleJoin:1485, MemberDomConfigProcessor (com.hazelcast.internal.config)handleNetwork:963, MemberDomConfigProcessor (com.hazelcast.internal.config)handleNode:302, MemberDomConfigProcessor (com.hazelcast.internal.config)buildConfig:285, MemberDomConfigProcessor (com.hazelcast.internal.config)lambda$overwriteMemberConfig$0:63, ExternalConfigurationOverride (com.hazelcast.internal.config.override)apply:-1, 1435781140 (com.hazelcast.internal.config.override.ExternalConfigurationOverride$$Lambda$122)overwrite:94, ExternalConfigurationOverride (com.hazelcast.internal.config.override)overwriteMemberConfig:60, ExternalConfigurationOverride (com.hazelcast.internal.config.override)
Hiç yorum yok:
Yorum Gönder