Package com.linkedin.venice.pubsub
Class PubSubConsumerAdapterContext
java.lang.Object
com.linkedin.venice.pubsub.PubSubConsumerAdapterContext
Encapsulates all dependencies and configurations required to create a consumer using a consumer factory.
This class serves as a unified context for managing consumer setup across different PubSub systems.
Common configurations applicable to all PubSub implementations should be defined as member variables
in this class, while system-specific configurations should be stored in VeniceProperties
.
Each PubSub implementation is expected to interpret both the common configurations and the PubSub-specific settings based on namespace-scoped configurations.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionio.tehuti.metrics.MetricsRepository
boolean
-
Method Details
-
getConsumerName
-
getPubSubBrokerAddress
-
getVeniceProperties
-
getPubSubSecurityProtocol
-
getMetricsRepository
public io.tehuti.metrics.MetricsRepository getMetricsRepository() -
getPubSubTopicRepository
-
isOffsetCollectionEnabled
public boolean isOffsetCollectionEnabled() -
getPubSubMessageDeserializer
-
getPubSubPositionTypeRegistry
-