KafkaDslTests: change group for MS in attempt to mitigate seeks

This commit is contained in:
Artem Bilan
2024-12-20 11:10:41 -05:00
parent 2378f3f954
commit 09b61991ff

View File

@@ -389,8 +389,10 @@ public class KafkaDslTests {
@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();