0

I have an emitter mapped to a kafka channel named "orders":

@ApplicationScoped
public class MessageBroker {

    @Inject
    @Channel("orders")
    @OnOverflow(DROP)
    Emitter<String> emitter;

I could see the producer name printed in the console as "kafka-producer-orders":

 [io.sma.rea.mes.kafka] (smallrye-kafka-producer-thread-0) SRMSG18258: Kafka producer kafka-producer-orders, connected to Kafka brokers 'OUTSIDE://localhost:32807', is configured to write records to 'orders'

Where is this name coming from? And how do I change it?

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
Keerthi
  • 466
  • 6
  • 12

0 Answers0