Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kafka Source stalls event processing becomes non-interactive #31

Closed
hrabalp opened this issue Aug 12, 2019 · 2 comments
Closed

Kafka Source stalls event processing becomes non-interactive #31

hrabalp opened this issue Aug 12, 2019 · 2 comments
Assignees

Comments

@hrabalp
Copy link

hrabalp commented Aug 12, 2019

#30

when max_partition_fetch_bytes is too high or if there is problem in processing (like slow lookup)

than kafka source is uneable to commit in time, stalls and is uneable to recover.
This way any unexpected small network/db glitch can indirectly kill whole processing and forces BSpump restart

@ateska ateska changed the title Kafka Source stalls when problem occurs in processing Kafka Source stalls event processing becomes non-interactive Aug 12, 2019
@ateska
Copy link
Contributor

ateska commented Aug 12, 2019

Simulate this by time.sleep(20) in a pipeline that uses Kafka source.

Technically, this is a problem of non-interactive pipeline (processing of one event takes much longer than few milliseconds and the event loop is held for too long).
We can try to optimise the Kafka source behavior but the root cause is different - blocking event processing - that should be detected and notified to a user.

@ateska ateska assigned PremyslCerny and unassigned ateska Aug 20, 2019
@ateska
Copy link
Contributor

ateska commented Aug 20, 2019

It seems that we need similar mechanism to simulate_event() from FileABCSource to be added to a KafkaSource. Obviously, Kafka chunk is processed in one event loop cycle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants