• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Kafka (10.0) can NOT recover the old messages in a new topic, after i start a broker again.

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have three brokers setting, i also have one partition by topic with two factor replication. I created a java application that create topics and have producers that send the messages and consumer that receive the messages.

But, when i shut down one blocker in a server and create a new topic, after start the broker/server again, it can NOT recover all the messages from the beginning in the new topic that i created.

I tried to set this parameter "auto.offset.reset" to "smallest", but the consumer always lost some messages.

Please, could you help me, how setting the consumer properties to receive all the old messages.

I am going to appresiate it a lot.

Thank you so much.
reply
    Bookmark Topic Watch Topic
  • New Topic