Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chillleader opened this issue Jun 10, 2024 · 0 comments
Assignees
Labels
kind:task Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.

Comments

@chillleader
Copy link
Member

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 camunda/camunda#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:

  • Make the TTL field optional in the element templates
  • Set it to 1h by default
  • Add an environment variable / spring config property to the runtime that will change the implicit default value
  • However, the value specified in the BPMN should have a priority (WYSIWYG)
@chillleader chillleader added the kind:task Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc. label Jun 10, 2024
@chillleader chillleader self-assigned this Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:task Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.
Projects
None yet
Development

No branches or pull requests

1 participant