You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe I'm using it wrong. And forgive, I don't know much go. Trying to pair this up with https://github.com/cloudamqp/amqpcat and consume from a rabbitmq queue and pipe to an sqs queue like so:
As you can see in examples, sqscat certainly reads constantly from stdin.
Or does it only spin up a certain number of threads and then die?
By default will continue to read indefinitely until it encounters an error or until it reaches EOF. Specifying -n will read exact specified number of entries before exiting.
Can you pipe the results of your first command to a file and confirm that there's newline as delimiter between items/entries? And also confirm the maximum size of each line.
Absolutely confirmed that there is a new line terminator. amqpcat automatically does this by default.
I have also tried gstbuf -oL amqpcat ... to force a new line buffering activity yet without luck.
But you say that it will read until EOF and then die? The -n will just die after a certain number of lines? Or will it just push the lines to sqs once that count has been reached and then wait for the next batch from stdin?
Maybe I'm using it wrong. And forgive, I don't know much go. Trying to pair this up with
https://github.com/cloudamqp/amqpcat
and consume from a rabbitmq queue and pipe to an sqs queue like so:But it keeps failing for some reason?
Can this tool not constantly read from stdin? Or does it only spin up a certain number of threads and then die? Any help would be appreciated thanks.
The text was updated successfully, but these errors were encountered: