Skip to content

Commit ef84d2e

Browse files
authored
Merge pull request #600 from confluentinc/import_v1.6.1
Import v1.6.1
2 parents a6e35f9 + 95dc02e commit ef84d2e

File tree

9 files changed

+1047
-221
lines changed

9 files changed

+1047
-221
lines changed

kafka/api.html

Lines changed: 295 additions & 162 deletions
Large diffs are not rendered by default.

kafka/build_darwin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ package kafka
1010
import "C"
1111

1212
// LibrdkafkaLinkInfo explains how librdkafka was linked to the Go client
13-
const LibrdkafkaLinkInfo = "static darwin from librdkafka-static-bundle-v1.5.2.tgz"
13+
const LibrdkafkaLinkInfo = "static darwin from librdkafka-static-bundle-v1.6.1.tgz"

kafka/build_glibc_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ package kafka
1010
import "C"
1111

1212
// LibrdkafkaLinkInfo explains how librdkafka was linked to the Go client
13-
const LibrdkafkaLinkInfo = "static glibc_linux from librdkafka-static-bundle-v1.5.2.tgz"
13+
const LibrdkafkaLinkInfo = "static glibc_linux from librdkafka-static-bundle-v1.6.1.tgz"

kafka/build_musl_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ package kafka
1010
import "C"
1111

1212
// LibrdkafkaLinkInfo explains how librdkafka was linked to the Go client
13-
const LibrdkafkaLinkInfo = "static musl_linux from librdkafka-static-bundle-v1.5.2.tgz"
13+
const LibrdkafkaLinkInfo = "static musl_linux from librdkafka-static-bundle-v1.6.1.tgz"

kafka/generated_errors.go

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package kafka
2-
// Copyright 2016-2020 Confluent Inc.
3-
// AUTOMATICALLY GENERATED ON 2020-11-05 11:15:05.835042851 +0100 CET m=+0.000270713 USING librdkafka 1.5.2-dirty
2+
// Copyright 2016-2021 Confluent Inc.
3+
// AUTOMATICALLY GENERATED ON 2021-02-26 10:30:20.002504127 +0100 CET m=+0.000255761 USING librdkafka 1.6.1-dirty
44

55
/*
66
#include "select_rdkafka.h"
@@ -130,6 +130,12 @@ const (
130130
ErrFenced ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR__FENCED)
131131
// ErrApplication Local: Application generated error
132132
ErrApplication ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR__APPLICATION)
133+
// ErrAssignmentLost Local: Group partition assignment lost
134+
ErrAssignmentLost ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR__ASSIGNMENT_LOST)
135+
// ErrNoop Local: No operation performed
136+
ErrNoop ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR__NOOP)
137+
// ErrAutoOffsetReset Local: No offset to automatically reset to
138+
ErrAutoOffsetReset ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR__AUTO_OFFSET_RESET)
133139
// ErrUnknown Unknown broker error
134140
ErrUnknown ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_UNKNOWN)
135141
// ErrNoError Success
@@ -310,4 +316,22 @@ const (
310316
ErrInvalidRecord ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_INVALID_RECORD)
311317
// ErrUnstableOffsetCommit Broker: There are unstable offsets that need to be cleared
312318
ErrUnstableOffsetCommit ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_UNSTABLE_OFFSET_COMMIT)
319+
// ErrThrottlingQuotaExceeded Broker: Throttling quota has been exceeded
320+
ErrThrottlingQuotaExceeded ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_THROTTLING_QUOTA_EXCEEDED)
321+
// ErrProducerFenced Broker: There is a newer producer with the same transactionalId which fences the current one
322+
ErrProducerFenced ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_PRODUCER_FENCED)
323+
// ErrResourceNotFound Broker: Request illegally referred to resource that does not exist
324+
ErrResourceNotFound ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_RESOURCE_NOT_FOUND)
325+
// ErrDuplicateResource Broker: Request illegally referred to the same resource twice
326+
ErrDuplicateResource ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_DUPLICATE_RESOURCE)
327+
// ErrUnacceptableCredential Broker: Requested credential would not meet criteria for acceptability
328+
ErrUnacceptableCredential ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_UNACCEPTABLE_CREDENTIAL)
329+
// ErrInconsistentVoterSet Broker: Indicates that the either the sender or recipient of a voter-only request is not one of the expected voters
330+
ErrInconsistentVoterSet ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_INCONSISTENT_VOTER_SET)
331+
// ErrInvalidUpdateVersion Broker: Invalid update version
332+
ErrInvalidUpdateVersion ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_INVALID_UPDATE_VERSION)
333+
// ErrFeatureUpdateFailed Broker: Unable to update finalized features due to server error
334+
ErrFeatureUpdateFailed ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_FEATURE_UPDATE_FAILED)
335+
// ErrPrincipalDeserializationFailure Broker: Request principal deserialization failed during forwarding
336+
ErrPrincipalDeserializationFailure ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_PRINCIPAL_DESERIALIZATION_FAILURE)
313337
)
438 KB
Binary file not shown.
1.32 MB
Binary file not shown.
1.37 MB
Binary file not shown.

0 commit comments

Comments
 (0)