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

Capture exceptions from Kafka consumer and pass to involved stages #887 #887

Merged
merged 5 commits into from
Sep 4, 2019

Conversation

ennru
Copy link
Member

@ennru ennru commented Sep 3, 2019

Purpose

Some calls to the Kafka consumer may throw exceptions. These are captured now and sent to the stage which sent the command that triggered the error.

References

Implements #796 and #814

Changes

  • KafkaConsumerActor maintains a set of stage actors that it interacts with (replaces requestors which required to receive demand from the stages)
  • All subscriptions and assignments are passed to handleSubscription
  • Illegal subscribe commands fail the sending stage/stream only

TODO

  • Producer stage

@ennru ennru added this to the 1.1.0-RC1 milestone Sep 3, 2019
Copy link
Contributor

@2m 2m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Great stuff!

@ennru ennru changed the title Capture exceptions from Kafka consumer and pass to involved stages Capture exceptions from Kafka consumer and pass to involved stages #887 Sep 4, 2019
@ennru ennru merged commit e8a9e17 into akka:master Sep 4, 2019
@ennru ennru deleted the kafka-exceptions branch September 4, 2019 14:13
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

Successfully merging this pull request may close these issues.

2 participants