You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Java Consumer isn't safe for concurrent access by multiple threads. KafkaConsumerActorshould prevent this from happening, but there have been reports of cases where it doesn't when using a non-default blocker with fs2-kafka 1.x. To guard against this we should use a single-threaded ExecutionContext for blocking operations on he consumer in v2.x. We should also consider deprecating withBlocker in v1.x, since a single-threaded blocker should always be used.
The text was updated successfully, but these errors were encountered:
The Java
Consumer
isn't safe for concurrent access by multiple threads.KafkaConsumerActor
should prevent this from happening, but there have been reports of cases where it doesn't when using a non-default blocker with fs2-kafka 1.x. To guard against this we should use a single-threaded ExecutionContext for blocking operations on he consumer in v2.x. We should also consider deprecatingwithBlocker
in v1.x, since a single-threaded blocker should always be used.The text was updated successfully, but these errors were encountered: