CarlosGitto commented on issue #77594:
URL: https://github.com/apache/airflow/issues/77594#issuecomment-7162775331

   I have a fix for points 1 and 2 ready locally and will open the PR shortly. 
It:
   
   - adds `max_message_count` (default `1`, must be >= 1) to 
`AzureServiceBusQueueTrigger` and `AzureServiceBusSubscriptionTrigger`, 
yielding one `TriggerEvent` per received message;
   - adds `read_messages` / `read_subscription_messages` to `MessageHook`, 
keeping `read_message` / `read_subscription_message` with their current 
contract;
   - updates the docs and adds unit tests for the trigger and the hook.
   
   With the default value the behavior is unchanged. Points 3 and 4 change 
behavior beyond what the docs describe, so I'd keep them for follow-ups.


-- 
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]

Reply via email to