Skip to content

Conversation

@alamashir
Copy link
Contributor

Fixes #57863

Summary

Changed AwaitMessageSensor and AwaitMessageTriggerFunctionSensor to inherit from BaseSensorOperator instead of BaseOperator, enabling them to accept standard sensor parameters like timeout and soft_fail.

Changes

  • Updated both sensor classes to inherit from BaseSensorOperator
  • Added documentation for newly available parameters
  • Added test coverage for timeout and soft_fail parameters

Testing

All 8 tests passing (4 existing + 4 new parameter tests)

This change is fully backward compatible.

…ache#57863)

- Changed AwaitMessageSensor and AwaitMessageTriggerFunctionSensor to inherit from BaseSensorOperator instead of BaseOperator
- This enables both sensors to accept standard sensor parameters like timeout and soft_fail
- Added comprehensive test coverage for timeout and soft_fail parameters
- Updated documentation to reflect the new parameters

Fixes apache#57863
@alamashir alamashir force-pushed the fix-kafka-sensor-timeout-57863-clean branch from 7370750 to 5b5f68d Compare November 8, 2025 05:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AwaitMessageSensor can't set timeout parameter

1 participant