fedora-infra / fedora-messaging

A library for sending AMQP messages with JSON schema in Fedora infrastructure
GNU General Public License v2.0
52 stars 52 forks source link

Add a new reconsume command to the CLI #359

Open jeremycline opened 3 months ago

jeremycline commented 3 months ago

This command is similar to the "replay" command, except it initializes a consumer and passes it the message retrieved from datagrepper.

I recently implemented a new consumer and wrote myself a little CLI which did this in order to test my consumer from an existing message. It'd be nice for it to be available by default.

I've marked this as a draft for now since I still need to write tests and I'm not in love with the command name. Any alternate names definitely welcome.