| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
JetStream.API.Message
Description
JetStream message consumption and acknowledgement contract.
Documentation
type Headers = [(ByteString, ByteString)] #
type FetchOption = CallOption PullRequest #
data OrderedConsumer #
data PullStatus #
Constructors
| PullNoMessages (Maybe ByteString) | |
| PullRequestTimeout (Maybe ByteString) | |
| PullStatusError ByteString (Maybe ByteString) |
Instances
| Show PullStatus | |
Defined in JetStream.Message.Types Methods showsPrec :: Int -> PullStatus -> ShowS # show :: PullStatus -> String # showList :: [PullStatus] -> ShowS # | |
| Eq PullStatus | |
Defined in JetStream.Message.Types | |
data MessageMetadata #
Instances
| Show MessageMetadata | |
Defined in JetStream.Message.Types Methods showsPrec :: Int -> MessageMetadata -> ShowS # show :: MessageMetadata -> String # showList :: [MessageMetadata] -> ShowS # | |
| Eq MessageMetadata | |
Defined in JetStream.Message.Types Methods (==) :: MessageMetadata -> MessageMetadata -> Bool # (/=) :: MessageMetadata -> MessageMetadata -> Bool # | |
Constructors
| FetchExpiresMicros Int | |
| FetchNoWaitMicros Int |
Instances
data MessageAPI #
type OrderedConsumerOption = CallOption OrderedConsumerConfig #
Constructors
| PullMessage Message | |
| PullStatusMessage PullStatus |
Instances
data PullResponse #
Instances
| Show PullResponse | |
Defined in JetStream.Message.Types Methods showsPrec :: Int -> PullResponse -> ShowS # show :: PullResponse -> String # showList :: [PullResponse] -> ShowS # | |
| Eq PullResponse | |
Defined in JetStream.Message.Types | |
data PullSubscription #
type PushConsumeOption = CallOption PushConsumeConfig #
data PushSubscription #
nakDelay :: NominalDiffTime -> Maybe NakDelay #
withFetchBatch :: Int -> FetchOption #
withFetchWait :: FetchWait -> FetchOption #
withOrderedConsumerNamePrefix :: ConsumerName -> OrderedConsumerOption #
withPushQueueGroup :: Subject -> PushConsumeOption #