apollographql / federation-jvm

JVM support for Apollo Federation
https://www.apollographql.com/docs/federation/
MIT License
250 stars 65 forks source link

feat(callback): support configurable heartbeat interval #360

Closed dariuszkuc closed 11 months ago

dariuszkuc commented 11 months ago

Update protocol to support configurable heartbeat interval. In order to keep backwards compatibility with older version of protocol, if no heartbeat value is provided, we default to 5s.

Updated protocol to also support both camelCase and snake_case extension values.

github-actions[bot] commented 11 months ago

Apollo Federation Subgraph Compatibility Results

Federation 1 SupportFederation 2 Support
_service🟢
@key (single)🟢
@key (multi)🟢
@key (composite)🟢
repeatable @key🟢
@requires🟢
@provides🟢
federated tracing🟢
@link🟢
@shareable🟢
@tag🟢
@override🟢
@inaccessible🟢
@composeDirective🟢
@interfaceObject🟢

Learn more:

bnjjj commented 11 months ago

I think that would be interesting to handle the case when heartbeat_interval_ms is not provided. To have a smooth transition for people using an older version of the router and stay backward compatible during few weeks. What do you think @dariuszkuc ?