Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

915 B
Raw Blame
// Kafka module - batch consumption with rebalance handling, and watermark (assign-only) consumption
pub mod assigner;
pub mod batch_consumer;
pub mod batch_context;
pub mod batch_message;
pub mod config;
pub mod error_handling;
pub mod metrics_consts;
pub mod offset_tracker;
pub mod partition_router;
pub mod partition_worker;
pub mod rebalance_handler;
pub mod routing_processor;
pub mod types;
pub mod watermark_consumer;

// Used in "mod tests" and tests/ directory (integration tests)
pub mod test_utils;

// Public API
pub use config::ConsumerConfigBuilder;
pub use offset_tracker::{OffsetTracker, OffsetTrackerError};
pub use partition_router::{PartitionRouter, PartitionRouterConfig};
pub use partition_worker::{PartitionBatch, PartitionWorker, PartitionWorkerConfig};
pub use rebalance_handler::RebalanceHandler;
pub use routing_processor::RoutingProcessor;
pub use watermark_consumer::WatermarkConsumer;