Skip to content

Commit

Permalink
Fix local variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Oct 28, 2019
1 parent 902e9b3 commit 7f1268d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -314,7 +314,7 @@ private CloseSafeProducer<K, V> doCreateTxProducer(String suffix, boolean isCons
Map<String, Object> configs = new HashMap<>(this.configs);
configs.put(ProducerConfig.TRANSACTIONAL_ID_CONFIG, this.transactionIdPrefix + suffix);
if (this.clientIdPrefix != null) {
newProducerConfigs.put(ProducerConfig.CLIENT_ID_CONFIG,
configs.put(ProducerConfig.CLIENT_ID_CONFIG,
this.clientIdPrefix + "-" + this.clientIdCounter.incrementAndGet());
}
producer = new KafkaProducer<K, V>(configs, this.keySerializer, this.valueSerializer);
Expand Down

0 comments on commit 7f1268d

Please sign in to comment.