Skip to content

Commit

Permalink
KafkaDslTests: change group for MS in attempt to mitigate seeks
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Dec 20, 2024
1 parent 2378f3f commit 09b6199
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,10 @@ public DefaultKafkaHeaderMapper mapper() {

@Bean
public IntegrationFlow sourceFlow() {
ConsumerProperties consumerProperties = new ConsumerProperties(TEST_TOPIC3);
consumerProperties.setGroupId("inboundChannelAdapterGroup");
return IntegrationFlow
.from(Kafka.inboundChannelAdapter(consumerFactory(), new ConsumerProperties(TEST_TOPIC3)),
.from(Kafka.inboundChannelAdapter(consumerFactory(), consumerProperties),
e -> e.poller(Pollers.fixedDelay(100)))
.handle(p -> {
this.fromSource = p.getPayload();
Expand Down

0 comments on commit 09b6199

Please sign in to comment.