daml/ledger-service
Leonid Shlyapnikov 19f5b86c79
Websocket stream to emit last seen offset instead of heartbeat message (#4886)
* Capture lastSeenOffset in the @volatile var

CHANGELOG_BEGIN
[JSON API - Experimental] Websocket stream now emits last seen offset instead of the heartbeat message.
``{"heartbeat": "ping"}`` is replaced by ``{"events":[],"offset":"<last seen offset>"}``. See #4510.
CHANGELOG_END

* updating docs

* moving the last seen offset into the stream, WIP

* adding in-stream state

* minor docs

* cleanup the heartbeat logic

* minot cleanup

* Change live and heartbeat msg handling + some debug logging (to be removed)

* fixing ts tests, cleaning up

* Adding todo with the reference to the follow-up ticket

* Adding todo with the reference to the follow-up ticket
2020-03-11 19:53:05 +00:00
..
db-backend Aligning DB contract table with domain.ActiveContract class (#3989) 2020-01-08 20:39:57 +00:00
http-json Websocket stream to emit last seen offset instead of heartbeat message (#4886) 2020-03-11 19:53:05 +00:00
jwt EC256 rather than EC512 algo (#4019) 2020-01-16 08:55:55 -05:00
lf-value-json Remove pragma 'daml 1.2' (#4702) 2020-02-26 13:17:45 -05:00
utils Remove unused dependencies to da_scala_library (#3938) 2020-01-06 18:14:21 +01:00