Skip to content

Commit

Permalink
add group to factory build
Browse files Browse the repository at this point in the history
  • Loading branch information
JDTobin committed Jun 14, 2024
1 parent 93f8bab commit 63ad889
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public ConsumerFactory<String, String> consumerFactory() {
log.info("Start building Kafka Consumer factory");
Map<String, Object> props = new HashMap<>();
props.put(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, brokerUrl);
// props.put(ConsumerConfig.GROUP_ID_CONFIG, "test-group");
props.put(ConsumerConfig.GROUP_ID_CONFIG, "test-group");
props.put(ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG,
StringDeserializer.class);
props.put(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG,
Expand Down

0 comments on commit 63ad889

Please sign in to comment.