You can use AdminClient.createTopics with the necessary configuration.
On Wed, May 8, 2019 at 12:08 PM SenthilKumar K
wrote:
> Hello Experts , We have a requirement to create topic dynamically with two
> different config(s). Is this possible in Kafka ?
>
> Kafka Version : 2.2.0
>
> Topics with
Hello Experts , We have a requirement to create topic dynamically with two
different config(s). Is this possible in Kafka ?
Kafka Version : 2.2.0
Topics with different settings:
#1 - Set retention as 24 hours for free tier customers
# 2 - Set retention as 72 hours for paid customers
Note :