Fork me on GitHub
Ian Fernandez19:06:03

folks, how can I add option to a producer to make a retry?

Darin Douglass23:06:36

You just need to put a retries key in your producer config

Ian Fernandez03:06:59

there's a recommended way to test the retries on kafka from clojure?

Darin Douglass00:06:57

Typically I’d say that type of testing is beyond the scope of what your application tests should worry about. At most I’d say you can maybe mock out the producer to ensure it’s getting the right config.