HomePhabricator

Add useTimestampForId option

Authored by Ottomata on Aug 1 2018, 2:19 PM.

Description

Add useTimestampForId option

Summary:
This allows KafkaSSE to be configured to set the message timestamp
in each message event id, rather than offset. EventSource clients
will then provide the timestamps in their Last-Event-ID header
when reconnecting. Setting useTimestampForId better supports
multi datacenter EventStreams backed by multiple Kafka clusters
with topics populated by via tools like MirrorMaker.

Bug: T199433

Reviewers: Pchelolo

Reviewed By: Pchelolo

Differential Revision: https://phabricator.wikimedia.org/D1090

Details

Committed
OttomataAug 1 2018, 2:29 PM
Reviewer
Pchelolo
Differential Revision
D1090: Add useTimestampForId option
Parents
rWKSEfe0df0e409a3: Make the main processing loop async wrt the main entry point
Branches
Unknown
Tags
Unknown
ChangeId
None
Build Status
Buildable 3082
Build 5153: ci-jessieJenkins