Acknowledge outside of consumeMany and consumeOne
@lhotari is already working on this.
Since May 27, 2025.
Assessment
This issue has not been assessed yet.
Description
Is there support to acknowledge outside of the consumeOne and consumeMany of AdaptedReactiveMessageConsumer?
My usecase is I want to consume the messages but don't want the acknowledgement to happen within the consumeOne, consumeMany. I want to separately acknowledge the pulsar message later on in the reactive pipeline after consumeOne, consumeMany.
e.g.
ReactiveMessageConsumer<String> messageConsumer=
reactivePulsarClient.messageConsumer(Schema.STRING)
.topic(topicName)
.subscriptionName("sub")
.build();
messageConsumer.consumeMany(messageFlux ->
messageFlux.map(message ->
doSomeProcessing(message)))
.flatMap(msgResult -> {
MessageId msgId = msgResult.getMessageId();
// Acknowledge here outside of consumeMany or consumeOne
handleAcknowledgement(msgId);
})
// for demonstration
.subscribe(System.out::println);
- Dominant language
- Java
- Stars
- 67
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/pulsar-client-reactive
-
Difficulty 3/5 1-2 days Newbie friendliness 39/100
apache/pulsar-client-reactive#227 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
apache/pulsar-client-reactive#216 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
apache/pulsar-client-reactive#182 ·
-
Add support for MutinyMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
apache/pulsar-client-reactive#114 · 6 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in apache/pulsar-client-reactive
Similar issues
-
status: needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
JabRef/jabref#17546 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
hiero-ledger/hiero-sdk-java#3010 ·
Maintainers usually reply within 1 day
-
Optimize consumer version heatmap aggregation to avoid repeated scansPossibly taken @praykaria31 claimed this today. Opentype/enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Apicurio/apicurio-registry#10662 · 1 comment ·
Maintainers usually reply within 1 day
-
a:false-positive
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
status: waiting-for-triage
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
spring-projects/spring-boot#52347 ·
Maintainers usually reply within 2 days