nakadi-client-0.5.0.3: Client library for the Nakadi Event Broker

Copyright(c) Moritz Schulte 2017 2018
LicenseBSD3
Maintainermtesseract@silverratio.net
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Network.Nakadi.EventTypes.CursorDistances

Description

This module implements the /event-types/EVENT-TYPE/cursor-distances API.

Synopsis

Documentation

cursorsDistance' Source #

Arguments

:: MonadNakadi b m 
=> EventTypeName

Event Type

-> [CursorDistanceQuery]

List of cursor-distance-queries

-> m [CursorDistanceResult]

List of cursor-distance-results

Query for distance between cursors. Low level call.

cursorDistance Source #

Arguments

:: MonadNakadi b m 
=> EventTypeName

Event Type

-> Cursor

First cursor

-> Cursor

Second cursor

-> m Int64

Resulting difference between first and second cursor

Given two cursors, compute the distance between these cursors.