Copyright | (c) Moritz Schulte 2017 2018 |
---|---|
License | BSD3 |
Maintainer | mtesseract@silverratio.net |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module implements the
/event-types/EVENT-TYPE/cursors-lag
API.
- cursorsLag' :: MonadNakadi b m => EventTypeName -> [Cursor] -> m [Partition]
- cursorsLag :: MonadNakadi b m => EventTypeName -> Map PartitionName CursorOffset -> m (Map PartitionName Int64)
Documentation
:: MonadNakadi b m | |
=> EventTypeName | Event Type |
-> [Cursor] | Cursors for which to compute the lag for |
-> m [Partition] | Resulting partition information containing information about unconsumed events. |
POST
to /event-types/EVENT-TYPE/cursors-lag
. Low level
interface.
:: MonadNakadi b m | |
=> EventTypeName | Event Type |
-> Map PartitionName CursorOffset | Cursor offsets associated to partitions. |
-> m (Map PartitionName Int64) | Cursor lags associated to partitions. |
POST
to /event-types/EVENT-TYPE/cursors-lag
. High level
interface.