jackdaw

2020-06-19T19:49:03.062500Z

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

Darin Douglass 2020-06-19T23:17:36.063500Z

You just need to put a retries key in your producer config https://kafka.apache.org/documentation/#retries

2020-06-20T03:46:25.063800Z

thanks!

2020-06-20T03:46:59.064Z

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

Darin Douglass 2020-06-21T00:04:57.065900Z

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.