Run a Producer 24/7 that only produces 1-2 days a month

Not sure where to post this but a question I have is whether its OK to run a producer constantly without shutdown, even if that producer only really produces items 1-2 days a month (with large gaps in between). There is always the possibility that there will be records to produce - but it is likely that it will only have items to produce a few days out of the month.

This helps a problem of having to contantly start/stop the producer but wanted to see if anyone has run into any performance issues.

This should work fine, though I’d recommend you consider using some cron job, or a file/database for persistence, since the Kafka producer will drop requests that are not large enough based on batch.size if you don’t otherwise immediately flush the buffer, and Kafka brokers will only hold data for 7 days, by default.