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

Pulsar outgoing max pending messages rename #2574

Merged
merged 4 commits into from
Apr 11, 2024

Conversation

ozangunalp
Copy link
Collaborator

Didn't choose to deprecate maxPendingMessages as it is also a Pulsar producer config

…ight-messages

Default to 1000, when not specified and for partitioned topics it is set to maxPendingMessagesAcrossPartitions

Enable pulsar e2e tests
@ozangunalp ozangunalp merged commit 75bfe4f into smallrye:main Apr 11, 2024
4 checks passed
@ozangunalp ozangunalp deleted the pulsar_fixes branch April 11, 2024 10:48
@ozangunalp ozangunalp added this to the 4.21.0 milestone Apr 11, 2024
return Uni.createFrom().completionStage(() -> {
var txnMetadata = message.getMetadata(PulsarTransactionMetadata.class);
if (txnMetadata.isPresent()) {
return consumer.acknowledgeAsync(message.getMessageId(), txnMetadata.get().getTransaction());
message.unwrap().release();

Choose a reason for hiding this comment

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

Duplicated line 40.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good call! Thanks!

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

Successfully merging this pull request may close these issues.

3 participants