I'm using Kakfa 0.10.0 and have the following code:
for message <- KafkaEx.stream(@topic, partition) do
process_message(pool, message)
end
The issue is that offsets are not being committed. I tried disabling the auto_commit option and then manually creating a worker and then manually committing the offset after the task but it still doesn't work. I based the offset_commit code on your test for the offset_commit function.
Also, process_message/2 above takes about half a minute to finish. In case, that matters.
What could be causing this problem?