Created
July 27, 2016 09:42
-
-
Save dasch/47c99ce3503dfac8670282af0e74e45a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Kafka.Consumer where | |
import Kafka | |
type alias Config = | |
{ groupId : String | |
, checkpointInterval : Maybe Int | |
, checkpointThreshold : Maybe Int | |
, heartbeatInterval : Int | |
} | |
init : Config -> Consumer | |
subscribe : String -> Consumer -> Consumer | |
run : (Message -> x) -> Consumer -> Task Never () |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment