Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

Passivation configuration by the discovery protocol #59

Closed
marcellanz opened this issue Nov 29, 2020 · 0 comments
Closed

Passivation configuration by the discovery protocol #59

marcellanz opened this issue Nov 29, 2020 · 0 comments
Assignees
Labels
area/protocol area/TCK area/user-platform Issues related to the different user target platforms

Comments

@marcellanz
Copy link
Contributor

With cloudstateio/cloudstate#486 entity passivation can be configured through the discovery protocol.

//
// The semantics is to provide a flexible way for entity user functions to configure the passivation strategy.
// This strategy is sent to the proxy at discovery time allowing the proxy to configure the corresponding entities.
// The only passivation strategy supported is the timeout strategy and configuring this is optional for the entity.
// If an entity user function does not configure the passivation strategy the proxy used its fallback default value.
//
// The passivation strategy for the entity user function.
message EntityPassivationStrategy {
    oneof strategy {
        // the timeout passivation strategy.
        TimeoutPassivationStrategy timeout = 1;
    }
}
@marcellanz marcellanz added area/user-platform Issues related to the different user target platforms area/protocol labels Nov 29, 2020
@marcellanz marcellanz added this to the Go Support v0.3.0 milestone Dec 6, 2020
@marcellanz marcellanz self-assigned this Dec 8, 2020
@marcellanz marcellanz mentioned this issue Jan 8, 2021
2 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/protocol area/TCK area/user-platform Issues related to the different user target platforms
Projects
None yet
Development

No branches or pull requests

1 participant