jason810496 commented on PR #53356: URL: https://github.com/apache/airflow/pull/53356#issuecomment-3134703284
> what is the best way you would recommend? I built it around the hooks so that it is easier but it is a bit more coupled together IMHO, add a new method for **just receive message without execution callback** can make the trigger more simpler. WDYT? - First, please add a new `read_message` method (or a better name if you have one) that allows reading a message without the ability to execute a callback. - Second, the trigger can then simply raise the message, similar to how it is handled in the Redis implementation. https://github.com/apache/airflow/blob/4b3b62ddbfb5c61e739453ba9e11912cf3a39cc0/providers/redis/src/airflow/providers/redis/triggers/redis_await_message.py#L61-L72 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
