Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Duration Convenience MillisPerDay = 24 * 60 * 60 * 1000 // 86400000 // Kafka Secret Label KafkaSecretLabel = "eventing-kafka.knative.dev/kafka-secret" // Kafka Secret Keys KafkaSecretKeyNamespace = "namespace" KafkaSecretKeyUsername = "username" KafkaSecretKeyPassword = "password" KafkaSecretKeySaslType = "sasltype" // Kafka Topic Config Keys TopicDetailConfigRetentionMs = "retention.ms" // EventHub Error Codes EventHubErrorCodeUnknown = -2 EventHubErrorCodeParseFailure = -1 EventHubErrorCodeCapacityLimit = 403 EventHubErrorCodeConflict = 409 // KafkaChannel Constants KafkaChannelServiceNameSuffix = "kn-channel" // Specific Value For Use With Knative e2e Tests! )
Constants
Variables ¶
View Source
var ( // // Default Kafka Version // // This is the default value which will be used when creating Sarama.Config if not // otherwise specified in the ConfigMap. It is set to the lowest common denominator // version to provide the most compatible and likely to succeed solution. Specifically, // Sarama's ConsumerGroups repeatedly close due to EOF failures when working against // Azure EventHubs if this is set any higher than V1_0_0_0. // ConfigKafkaVersionDefault = sarama.V1_0_0_0 )
Non-Constant Constants ;)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.