reference icon indicating copy to clipboard operation
reference copied to clipboard

Clarification request: STREAM SAMPLE subscription sample_interval and heartbeat_interval

Open iljatab opened this issue 7 years ago • 0 comments

IMHO, it isn't clear what would be the expected target behavior when heartbeat_interval is less than sample_interval. According to "3.5.1.5.2 STREAM Subscriptions" there are no restrictions for heartbeat_interval value.

So what should the target system send if, for example:

sample_interval == 10 suppress_redundant == true heartbeat_interval == 3

Possible actions could be, say: (1) Send updates according to heartbeat_interval every 3 sec., effectively ignoring suppress_redundant. or (2) Silently force heartbeat_interval = sample_interval, send updates every 10 sec, effectively ignoring suppress_redundant. or (3) Reject SubscribeRequest with an error. or (4) Something else?

What would be a reasonable option in that case?

iljatab avatar Jan 31 '18 15:01 iljatab