cloudevents / sdk-java

Java SDK for CloudEvents
https://cloudevents.github.io/sdk-java/
Apache License 2.0
402 stars 160 forks source link

NATS Java client for NATS sender, publisher, receiver and also for NATS JetStream integration #413

Open srimadhavan opened 3 years ago

srimadhavan commented 3 years ago

I am working on to Integrate the Cloud Events with NATS Event Driven Architecture. I am seeing there is no JAVA client library for NATS and NATS JetStream. Please add the Java client for sender, receiver, publish and subscribe for NATS and NATS Jetstream from Cloud Event client.

pierDipi commented 3 years ago

Contributions are welcome!

rvowles commented 2 years ago

I'm working on this.

rvowles commented 2 years ago

The bit thats taking the time is the header value encoding as per the spec here: https://github.com/cloudevents/spec/blob/main/cloudevents/bindings/nats-protocol-binding.md - its not URL encoding and its not anything standard and is going to require a fair degree of work.

lilytrotter commented 7 months ago

Is anyone working on this? Seems it stalled on the previous attempt at the PR stage. I'd be interested if not

I'm trying to encourage Cloudevents adoption at work, having NATS integration would smooth the path. I have studied the Golang implementation and the spec so I have a fair sense of it.

rvowles commented 7 months ago

I already implemented and published it under my own company public GitHub repo because I couldn't get a review completed after several months of waiting. It has been successfully used in several releases of our open source feature flagging platform.

https://github.com/featurehub-io/featurehub-cloudevents

rvowles commented 6 months ago

@lilytrotter did you try the one I linked?