Skip to main content

prefect_redis.messaging

Functions

ephemeral_subscription

break_topic

Classes

RedisMessagingPublisherSettings

Settings for the Redis messaging publisher. No settings are required to be set by the user but any of the settings can be overridden by the user using environment variables.

RedisMessagingConsumerSettings

Settings for the Redis messaging consumer. No settings are required to be set by the user but any of the settings can be overridden by the user using environment variables.

Cache

Methods:

clear_recently_seen_messages

forget_duplicates

without_duplicates

RedisStreamsMessage

A message sent to a Redis stream. Methods:

acknowledge

Subscription

A subscription-like object for Redis. We mimic the memory subscription interface so that we can set max_retries and handle dead letter queue storage in Redis.

Publisher

Methods:

publish_data

Consumer

Consumer implementation for Redis Streams with DLQ support. Methods:

process_pending_messages

run