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

CAMEL-19210 - Support for delayed delivery pulsar messages using deliverAt (for 3.x) #9659

Closed
wants to merge 1 commit into from

Conversation

MrBlueMoo
Copy link
Contributor

@MrBlueMoo MrBlueMoo commented Mar 27, 2023

Description

This functionality allows for delayed delivery options within Apache Pulsar to be used by specifying a time that you want the message to be delivered.

This is simply is a passthrough for setting the deliverAt() on an Apache Pulsar message used used by the producer. The expected value is a Long representing the current timestamp in milliseconds (UTC) which is simply passed across without translation.

The detail of the call used is as follows:
https://pulsar.apache.org/api/client/2.11.x/org/apache/pulsar/client/api/TypedMessageBuilder.html#deliverAt(long)

Uses the CamelPulsarProducerMessageDeliverAt header name for setting.

Target

  • I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

Apache Camel coding standards and style

  • I checked that each commit in the pull request has a meaningful subject line and body.

  • I formatted the code using mvn -Pformat,fastinstall install && mvn -Psourcecheck

message used when sending Apache Pulsar messages to allow for delayed
delivery. Uses the CamelPulsarProducerMessageDeliverAt header name for
setting.
@github-actions
Copy link
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟

⚠️ Please note that the changes on this PR may be tested automatically.

If necessary Apache Camel Committers may access logs and test results in the job summaries!

Copy link
Contributor

@oscerd oscerd left a comment

Choose a reason for hiding this comment

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

Thanks. This should go on main too

@MrBlueMoo MrBlueMoo changed the title CAMEL-19210 - Support for delayed delivery pulsar messages using deliverAt CAMEL-19210 - Support for delayed delivery pulsar messages using deliverAt (for 3.x) Mar 27, 2023
@MrBlueMoo
Copy link
Contributor Author

Thanks. This should go on main too

Created PR #9660 for main too

@github-actions
Copy link
Contributor

Components tested:

Total Tested Failed ❌ Passed ✅
1 1 0 1

@davsclaus
Copy link
Contributor

I have cherry picked from main

@davsclaus davsclaus closed this Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants