0

I have two kafka consumers defined in two micro services from one producer with different group id defined.One of the micro service is not consuming the message from the producer


@Component
@ConditionalOnProperty(value = "XXX", havingValue = "true")
public class EventListener {


  @KafkaListener(id = "XX", topics = "#{'${topic'}")
  public void consumeMessageEvent(Event messageEvent, ConsumerRecord<String, ?> record) {

  }

  }
ASP
  • 1
  • 2

0 Answers0