-
Notifications
You must be signed in to change notification settings - Fork 387
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
Deprecate committableSink
#805
Comments
Hi ennru, I also prefer the Committer.sink but right now I'm facing an issue as this is not supporting implementation of CommittableOffset. Digging through the code there is a pattern matching cast in the MessageBulder class (line 221 of v1.0.5) which expect CommittableOffset to be always the internal implementation. Any plan to fix this? |
What other implementation of |
Hi Ennru, apologies I have just seen the annotation regarding NoInheritance. To describe my use case, I have created an Envelope[P] message which extended your CommittableOffset to be able to detect when commitScaladsl() call is performed to do some other operations (i.e. : complete a span etc...). Find below code snippet (Open to suggestions) trait Envelope[+P] extends Committable { self => ` |
You may try to use the pass-through instead of extending |
Fixed with #932 |
committableSink
uses per element committing which performs much worse thanCommitter.sink
. The recommendation should be to useflexiFlow
withCommitter.sink
instead.The text was updated successfully, but these errors were encountered: