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

Copyright(c) Moritz Schulte 2017
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 m 
=> Config

Configuration

-> EventTypeName

Event Type

-> [CursorDistanceQuery]

List of cursor-distance-queries

-> m [CursorDistanceResult]

List of cursor-distance-results

Query for distance between cursors. Low level call.

cursorsDistanceR' Source #

Arguments

:: MonadNakadiEnv r 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, retrieving configuration from environment.

cursorDistance Source #

Arguments

:: MonadNakadi m 
=> Config

Configuration

-> 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.

cursorDistanceR Source #

Arguments

:: MonadNakadiEnv r 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, retrieving configuration from environment.