kubemq-io / kubemqctl

Kubemqctl is a command line interface (CLI) for KubeMQ , Kubernetes Message Broker
https://kubemq.io
Apache License 2.0
22 stars 9 forks source link

sending message to queue will unexpectedly modified before actual sending #9

Closed coxa closed 4 years ago

coxa commented 4 years ago

Problem is here https://github.com/kubemq-io/kubemqctl/blob/2821345d21eef4dbc096f0f0b66480490770c6f4/cmd/queue/send.go#L106 I not understand why it should be modified

kubemq commented 4 years ago

we did this if we want to send a batch of messages with sequence numbers why this is a problem for you?

coxa commented 4 years ago

I just want to test my service by sending a json to queue but it fails because service can't parse json because of "- (0)" at the end

kubemq commented 4 years ago

got it, we fix it asap, stay tuned

kubemq commented 4 years ago

@coxa , fixed and release version v.2.3.1 let me know if this solved your problem

coxa commented 4 years ago

Awesome! Thank you a lot It works as expected