-
Notifications
You must be signed in to change notification settings - Fork 6
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
[ECO-4650] fix: remove message grouping for Ably Batch calls #180
Conversation
b8b7336
to
b59bb2b
Compare
@ttypic I assume you meant to tag me & andy as reviewers on this, not assign it to us? |
@SimonWoolf , oh, I am sorry 🙈 miss clicked |
b59bb2b
to
732b03a
Compare
732b03a
to
ede5923
Compare
ede5923
to
834e9ec
Compare
b81b202
to
bd964d9
Compare
bd964d9
to
80ea287
Compare
80ea287
to
7c45690
Compare
src/main/java/com/ably/kafka/connect/client/DefaultAblyBatchClient.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not able to review the code in detail, will leave that for andy, but just looking at the tests it looks like like it successfully resolves the issue 👍
The kafka connector put every message sent to a single channel in one `BatchSpec`, meaning we treated them atomically and send them as a single `ProtocolMessage`. This causes a problem when the total `ProtocolMessage` size gets way too big. That's why now we put every message in its own `BatchSpec`
7c45690
to
7e4dc40
Compare
Resolves #171
Jira issue ECO-4650
The kafka connector put every message sent to a single channel in one
BatchSpec
, meaning we treated them atomically and send them as a singleProtocolMessage
.This causes a problem when the total
ProtocolMessage
size gets way too big.That's why now we put every message in its own
BatchSpec