Copyright | (c) Moritz Schulte 2017 2018 |
---|---|
License | BSD3 |
Maintainer | mtesseract@silverratio.net |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module provides the Nakadi Config Types.
- data Config m
- type ConfigIO = Config IO
- data ConsumeParameters
- type StreamConnectCallback m = Response () -> m ()
- data HttpBackend b = HttpBackend {
- _httpLbs :: Config b -> Request -> Maybe Manager -> b (Response ByteString)
- _httpResponseOpen :: Config b -> Request -> Maybe Manager -> b (Response (ConduitM () ByteString b ()))
- _httpResponseClose :: Response () -> b ()
Documentation
HasNakadiRequestTemplate (Config m) Request | |
HasNakadiStreamConnectCallback (Config m) (Maybe (StreamConnectCallback m)) | |
HasNakadiRetryPolicy (Config m) (RetryPolicyM IO) | |
HasNakadiManager (Config m) (Maybe Manager) | |
HasNakadiLogFunc (Config m) (Maybe (LogFunc m)) | |
HasNakadiHttpErrorCallback (Config m) (Maybe (HttpErrorCallback m)) | |
HasNakadiHttp (Config m) (HttpBackend m) | |
HasNakadiFlowId (Config m) (Maybe FlowId) | |
HasNakadiDeserializationFailureCallback (Config m) (Maybe (ByteString -> Text -> m ())) | |
HasNakadiConsumeParameters (Config m) (Maybe ConsumeParameters) | |
HasNakadiRequestModifier (Config m) (Request -> m Request) | |
HasNakadiHttpResponseOpen (HttpBackend b) (Config b -> Request -> Maybe Manager -> b (Response (ConduitM () ByteString b ()))) | |
HasNakadiHttpLbs (HttpBackend b) (Config b -> Request -> Maybe Manager -> b (Response ByteString)) | |
data ConsumeParameters Source #
ConsumeParameters
Eq ConsumeParameters Source # | |
Ord ConsumeParameters Source # | |
Show ConsumeParameters Source # | |
HasNakadiStreamTimeout ConsumeParameters (Maybe Int32) | |
HasNakadiStreamLimit ConsumeParameters (Maybe Int32) | |
HasNakadiStreamKeepAliveLimit ConsumeParameters (Maybe Int32) | |
HasNakadiMaxUncommittedEvents ConsumeParameters (Maybe Int32) | |
HasNakadiBatchLimit ConsumeParameters (Maybe Int32) | |
HasNakadiBatchFlushTimeout ConsumeParameters (Maybe Int32) | |
HasNakadiConsumeParameters (Config m) (Maybe ConsumeParameters) | |
type StreamConnectCallback m = Response () -> m () Source #
Config
data HttpBackend b Source #
HttpBackend | |
|
HasNakadiHttp (Config m) (HttpBackend m) | |
HasNakadiHttpResponseOpen (HttpBackend b) (Config b -> Request -> Maybe Manager -> b (Response (ConduitM () ByteString b ()))) | |
HasNakadiHttpResponseClose (HttpBackend b) (Response () -> b ()) | |
HasNakadiHttpLbs (HttpBackend b) (Config b -> Request -> Maybe Manager -> b (Response ByteString)) | |