Documentation ¶
Overview ¶
Package kafkautils provides Kafka utility functions that are shared between ia2 and the HTTP-to-Kafka bridge that ia2 relies on if it's running inside an enclave.
Index ¶
Constants ¶
View Source
const ( // DefaultKafkaKey holds the default path to the Kafka certificate key. DefaultKafkaKey = "/etc/kafka/secrets/key" // DefaultKafkaCert holds the default path to the Kafka certificate. DefaultKafkaCert = "/etc/kafka/secrets/certificate" )
Variables ¶
This section is empty.
Functions ¶
func NewKafkaWriter ¶
NewKafkaWriter creates a new Kafka writer based on the environment variable envKafkaBroker and the given certificate files.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.