-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: connector sending event to external consumer over NATS or Kafka #121
Comments
NATS will be a good option |
@Yosef0987 yeah, I think so. NATS is easier than Kafka to get started. May be we can use protobuf instead of json for event serialize, which have better performance and bandwith save, an also easy to integrate will all other language like NodeJs or Golang |
@giangndm protobuf seems to be having a much higher overhead than JSON, for both safe typing and implementation, it's good to have, but I think JSON is enough for now? |
@luongngocminh, I believe you're mistaken. Protobuf is a binary codec, making it faster and more efficient than JSON. You can find several benchmark tests online that show Protobuf's superior performance. https://nilsmagnus.github.io/post/proto-json-sizes/ |
I know the benefits of using protobuf, but my point is that the implementation to convert the internal rust event enum to protobuf will have more boilercode, is it really matter that much or we can just provide it as an option later. |
Ok, let do it in simplest way |
#120 PR only implemented core flow, for external using we need to implement external message queue producer
The text was updated successfully, but these errors were encountered: