Skip to content

offset commits on Async tasks #243

Closed Answered by LGouellec
duke-bartholomew asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @duke-bartholomew ,

What happens under the hood in kafka-streams-dotnet?
Does this mean a new thread per message in this case? (I come from the JVM world, so my perception of threads and the impact of them might be skewed when it comes to .NET threads)

No a single thread is created and dedicated to consume the internal request, call the external processor with logic retry and so on, and publish the result in the internal response topic. This thread has a logic with pause/resume in case the processor is too long compared to max.poll.interval.ms. Btw, in JAVA the consumer has max.poll.interval.ms to consume a batch records between 0 and max.poll.records messages whereas in .Net the consu…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@duke-bartholomew
Comment options

@LGouellec
Comment options

Answer selected by LGouellec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants