streamnative / aop

AMQP on Pulsar protocol handler
Apache License 2.0
115 stars 47 forks source link

[FEATURE] Can aop natively support delay message feature based on Pulsar ? #321

Open Richard-Yi opened 2 years ago

Richard-Yi commented 2 years ago

Pulsar has native support for delay message. Can aop support this based on Pulsar too?

For example, by parsing the delay field in the header, you can set the delivery time of the message.

Map<String, Object> headers = new HashMap<>();
headers.put("delay", "xx");
AMQP.BasicProperties props = new AMQP.BasicProperties.Builder().messageId(UUID.randomUUID().toString()).headers(headers).build();
gaoran10 commented 2 years ago

Yes, I think we could support the delay message feature in AoP based on the Pulsar.

gaoran10 commented 2 years ago

@Richard-Yi Are you interested to work on this feature?

Richard-Yi commented 2 years ago

@gaoran10 Yes, I'm interested. I'll be working on this feature. But I'm a newbie at github contribution, do i just follow the contribution workflow in README?

gaoran10 commented 2 years ago

Sure, you could fork this repo and pull a new request for the delay message feature.