camunda / connectors

Camunda Connectors
https://docs.camunda.io/docs/components/integration-framework/connectors/out-of-the-box-connectors/available-connectors-overview/
Apache License 2.0
35 stars 36 forks source link

[Inbound] Set the message TTL to 1 hour by default, allow overriding with env vars #2736

Open chillleader opened 1 month ago

chillleader commented 1 month ago

What should we do?

As part of #2341, we added support for customizable message TTL in 8.6.0-alpha2. The default value is currently configured in the element template and is set to 0.

This might cause issues for our users who already use inbound connectors and may rely on the TTL being set to 1 hour implicitly (the 1h default originally comes from the Zeebe Java client, see https://github.com/camunda/camunda/issues/10937). We need to set the TTL to 1h again by the 8.6.0 release.

At the same time, it would be useful to be able to define the message TTL as an application config concern, and not specify it in the BPMN.

To accomodate both requirements, we should: