Skip to content

Add support for setting the response Meta.TTL #424

@bobh66

Description

@bobh66

What problem are you facing?

With the advent of Realtime Compositions there is no standard reconciliation interval and the composition function pipeline will only be executed when a change is detected in a watched resource or when the TTL for the pipeline expires.

Since there are no watches on EnvironmentConfigs or ExtraResources, changes to these resources will not trigger a reconciliation, but will be detected when the current pipeline TTL expires. By default the TTL is 1 minute for all Go SDK-based functions. Users may want to be able to set the TTL of the pipeline to a higher or lower value to detect these changes as needed.

How could this Function help solve your problem?

The function should support the ability to set the response Meta.Ttl field as specified either by the composition developer in a function input or programmatically at runtime based on a calculation, or both.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions