Open estahn opened 5 years ago
I have starte working on a new major version. One of my goals is to simplify a lot. One thing I am taking into consideration is to remove support for passing the payload by argument. If I proceed proceed with that idea, I would like to also reject that request. This is due to the fact that a message body can be arbitrary binary data. In order to place it into a JSON data structure, the body would have to be encoded with the consumer and decoded within the worker script. This reduces the throughput this consumer can handle.
So the options are:
@estahn What would be your argument to have both attributes and body within the same data structure?
It would be great to just read a JSON from
STDIN
instead of reading from different file descriptors.