Git Product home page Git Product logo

Comments (6)

htgc avatar htgc commented on August 28, 2024

I confirmed it can resend after reconnected connection with following log.

2015-01-18 23:14:01 +0900 [warn]: retry succeeded. plugin_id="object:3fa3f02d1148"

Perhaps, I couldn't build a same environment.(I tried stop kafka-server while td-agent is working, after exception occurred, I restart kafka-server)

Please let me know how to build this situation if I make misunderstanding.
Thanks,

from fluent-plugin-kafka.

mohitkhanna avatar mohitkhanna commented on August 28, 2024

@htgc I can consistently reproduce it on my setup. I will see if I have concrete steps to reproduce it and mail them to you.

BTW... Just to add on to my observation: I can see the error happening after the max retries have been reached. So after I let the data go into the buffer file, I bring down the broker and let the agent fail more than max retries.

After that, this error starts occurring and data is never retransmitted. Lets for time being assume that that's the right behaviour, but:

  1. Why repeated errors about "All messages not sent"? Looks like it's trying to attempt again and again on the same data.
  2. What happens to the new data that comes from that point onwards? Will that atleast be sent? I have to again confirm that. I don't think new data is being sent unless i restart the agent.

For now - i have put a retry limit of 150 to take care of major downtime - but that's just a workaround.

from fluent-plugin-kafka.

htgc avatar htgc commented on August 28, 2024

Sorry for being super late.
I missed your notice below.

after restarting the broker service (different server)

This plugin configures broker info only start fluentd, so it couldn't reconnect another broker server.
I'll fix this issue by next release.

Sorry for inconvenience.

from fluent-plugin-kafka.

raviprakashshahi avatar raviprakashshahi commented on August 28, 2024

Hi Mohit,

Did you manage to re-push the logs in the buffer file? I am facing the same problem and had to move the buffer files for td-agent to start working again.

Logs in buffer files contain the tag-name and some special character also, something like "��TagName�X�����message� �" [logs]

Is there any plugin which can reprocess these logs.

from fluent-plugin-kafka.

mohitkhanna avatar mohitkhanna commented on August 28, 2024

from fluent-plugin-kafka.

mohitkhanna avatar mohitkhanna commented on August 28, 2024

from fluent-plugin-kafka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.