nakadi-client alternatives and similar packages
Based on the "network" category
Do you think we are missing an alternative of nakadi-client or a related project?
Please note that the API is not considered stable yet.
Docker based test suite testing against the official Nakadi docker image.
A type-safe API for interacting with Nakadi. For example, the name of an event type has type
Textor something generic. Correct types for values like
CursorOffsetare provided (which must be treated as opaque strings).
Integrated and configurable retry mechanism.
Conduit based interfaces for streaming events.
Support for temporary subscriptions.
Convenient Subscription API interface (
subscriptionProcessConduit), which frees the user from any manual bookkeeping.
Mechanism for registering callbacks for logging and token injection.
Example code showing how to dump a subscription:
dumpSubscription :: (MonadLogger m, MonadNakadi IO m) => Nakadi.SubscriptionId -> m () dumpSubscription subscriptionId = Nakadi.subscriptionProcess Nothing subscriptionId processBatch where processBatch :: MonadLogger m => Nakadi.SubscriptionEventStreamBatch Value -> m () processBatch batch = logInfoN (tshow batch)
*Note that all licence references and agreements mentioned in the nakadi-client README section above are relevant to that project's source code only.