diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-12-10 18:57:10 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-10 18:57:10 +0000 |
commit | 9c03b0a4fa38971dfe83bd135aefb3c482a18380 (patch) | |
tree | ba8e55b75c056adac1fc7c42fb6febb2b8565d36 /syncapi/consumers/eduserver_receipts.go | |
parent | bad81c028f090af0e1005076829db67d1a749a14 (diff) |
Refactor sync tokens (#1628)
* Refactor sync tokens
* Comment out broken notifier test
* Update types, sytest-whitelist
* More robust token checking
* Remove New functions for streaming tokens
* Export Logs in StreamingToken
* Fix tests
Diffstat (limited to 'syncapi/consumers/eduserver_receipts.go')
-rw-r--r-- | syncapi/consumers/eduserver_receipts.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/consumers/eduserver_receipts.go b/syncapi/consumers/eduserver_receipts.go index 3361e134..5c286cf0 100644 --- a/syncapi/consumers/eduserver_receipts.go +++ b/syncapi/consumers/eduserver_receipts.go @@ -88,7 +88,7 @@ func (s *OutputReceiptEventConsumer) onMessage(msg *sarama.ConsumerMessage) erro return err } // update stream position - s.notifier.OnNewReceipt(types.NewStreamToken(0, streamPos, nil)) + s.notifier.OnNewReceipt(types.StreamingToken{ReceiptPosition: streamPos}) return nil } |