From ddb1c5c29f6aac8b95cc8980284737d7894fcb5e Mon Sep 17 00:00:00 2001
From: Magnus Edenhill
+ LibrdkafkaLinkInfo explains how librdkafka was linked to the Go client
+
OffsetBeginning represents the earliest offset (logical)
LibraryVersion returns the underlying librdkafka library version as a
(version_int, version_str) tuple.
+
+ WriteErrorCodes writes Go error code constants to file from the
+librdkafka error codes.
+This function is not intended for public use.
func LibraryVersion() (int, string)
+
adminoptions.go
-
- build_dynamic.go
+
+ build_glibc_linux.go
config.go
@@ -1203,6 +1208,9 @@
error.go
+
+ error_gen.go
+
event.go
@@ -1303,6 +1311,10 @@
// AlterOperationSet sets/overwrites the configuration setting.
AlterOperationSet = iota
)
+
const LibrdkafkaLinkInfo = "static glibc_linux from librdkafka-static-bundle-v1.4.0.tgz"
const PartitionAny = int32(C.RD_KAFKA_PARTITION_UA)
func
-
+
LibraryVersion
@@ -1337,6 +1349,21 @@
+ func
+
+ WriteErrorCodes
+
+
+ ΒΆ
+
+
+ func WriteErrorCodes(f *os.File)
+
type
@@ -2254,7 +2281,7 @@
The returned offset for each partition is the earliest offset whose timestamp is greater than or equal to the given timestamp in the -corresponding partition. +corresponding partition. If the provided timestamp exceeds that of the +last message in the partition, a value of -1 will be returned.
The timestamps to query are represented as `.Offset` in the `times` @@ -2443,7 +2471,7 @@
Upon successful return from this function the application has to perform at -least one of the following operations within `transactional.timeout.ms` to +least one of the following operations within `transaction.timeout.ms` to avoid timing out the transaction on the broker:
* `Produce()` (et.al) @@ -4001,7 +4029,7 @@
func (*Producer) - + OffsetsForTimes @@ -4015,7 +4043,8 @@
The returned offset for each partition is the earliest offset whose timestamp is greater than or equal to the given timestamp in the -corresponding partition. +corresponding partition. If the provided timestamp exceeds that of the +last message in the partition, a value of -1 will be returned.
The timestamps to query are represented as `.Offset` in the `times` @@ -4121,7 +4150,7 @@
func (*Producer) - + SendOffsetsToTransaction @@ -4176,7 +4205,7 @@
func (*Producer) - + SetOAuthBearerToken @@ -4201,7 +4230,7 @@
func (*Producer) - + SetOAuthBearerTokenFailure @@ -4233,7 +4262,7 @@
func (*Producer) - + TestFatalError @@ -4394,7 +4423,7 @@
func (p TopicPartition) String() string
type TopicPartitions []TopicPartition
func (tps TopicPartitions) Len() int
func (tps TopicPartitions) Less(i, j int) bool