public GetBrokerPartitionInfosAsString ( ) : string | ||
Résultat | string |
public ProducerConfig(KafkaClientConfiguration kafkaClientConfiguration) : this() { Guard.Assert<ArgumentNullException>(() => kafkaClientConfiguration != null); if (kafkaClientConfiguration.IsZooKeeperEnabled) { this.ZkConnect = kafkaClientConfiguration.ZooKeeperServers.AddressList; this.ZkSessionTimeoutMs = kafkaClientConfiguration.ZooKeeperServers.SessionTimeout; this.ZkConnectionTimeoutMs = kafkaClientConfiguration.ZooKeeperServers.ConnectionTimeout; } this.BrokerPartitionInfo = kafkaClientConfiguration.GetBrokerPartitionInfosAsString(); }
public ProducerConfig(KafkaClientConfiguration kafkaClientConfiguration) : this() { Guard.Assert <ArgumentNullException>(() => kafkaClientConfiguration != null); if (kafkaClientConfiguration.IsZooKeeperEnabled) { this.ZkConnect = kafkaClientConfiguration.ZooKeeperServers.AddressList; this.ZkSessionTimeoutMs = kafkaClientConfiguration.ZooKeeperServers.SessionTimeout; this.ZkConnectionTimeoutMs = kafkaClientConfiguration.ZooKeeperServers.ConnectionTimeout; } this.BrokerPartitionInfo = kafkaClientConfiguration.GetBrokerPartitionInfosAsString(); }