kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chintan mavawala <chintan25...@gmail.com>
Subject Dynamic topic subscription without using pattern
Date Thu, 04 Jan 2018 05:39:19 GMT
Hi,

We have a use case where we need to start kafka consumer with a fixed list
of kafka topics and add more topics on the fly. Since there is no pattern
in names of topics, using pattern for dynamic subscriptions of topics is
not feasible.

Is it a good practice to subscribe to topics on given kafka consumer on fly
using after starting consumer?

I understand that KafkaConsumer is not thread safe. Any ill effects due to
multi threaded env?

Regards,
Chintan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message