Skip to content

Commit

Permalink
Merge pull request #562 from confluentinc/import_v1.5.2
Browse files Browse the repository at this point in the history
Import v1.5.2
  • Loading branch information
edenhill authored Nov 5, 2020
2 parents 3781536 + 53b1587 commit 8bd1e41
Show file tree
Hide file tree
Showing 9 changed files with 226 additions and 71 deletions.
79 changes: 46 additions & 33 deletions kafka/api.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions kafka/build_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
package kafka

// #cgo CFLAGS: -I${SRCDIR}
// #cgo LDFLAGS: ${SRCDIR}/librdkafka/librdkafka_darwin.a -lm -lsasl2 -lz -ldl -lpthread
// #cgo LDFLAGS: ${SRCDIR}/librdkafka/librdkafka_darwin.a -lz -lm -lsasl2 -ldl -lpthread
import "C"

// LibrdkafkaLinkInfo explains how librdkafka was linked to the Go client
const LibrdkafkaLinkInfo = "static darwin from librdkafka-static-bundle-v1.4.2.tgz"
const LibrdkafkaLinkInfo = "static darwin from librdkafka-static-bundle-v1.5.2.tgz"
2 changes: 1 addition & 1 deletion kafka/build_glibc_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ package kafka
import "C"

// LibrdkafkaLinkInfo explains how librdkafka was linked to the Go client
const LibrdkafkaLinkInfo = "static glibc_linux from librdkafka-static-bundle-v1.4.2.tgz"
const LibrdkafkaLinkInfo = "static glibc_linux from librdkafka-static-bundle-v1.5.2.tgz"
2 changes: 1 addition & 1 deletion kafka/build_musl_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ package kafka
import "C"

// LibrdkafkaLinkInfo explains how librdkafka was linked to the Go client
const LibrdkafkaLinkInfo = "static musl_linux from librdkafka-static-bundle-v1.4.2.tgz"
const LibrdkafkaLinkInfo = "static musl_linux from librdkafka-static-bundle-v1.5.2.tgz"
14 changes: 13 additions & 1 deletion kafka/generated_errors.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package kafka
// Copyright 2016-2020 Confluent Inc.
// AUTOMATICALLY GENERATED ON 2020-04-08 13:17:23.310983 +0200 CEST m=+0.001902312 USING librdkafka 1.4.0
// AUTOMATICALLY GENERATED ON 2020-11-05 11:15:05.835042851 +0100 CET m=+0.000270713 USING librdkafka 1.5.2-dirty

/*
#include <librdkafka/rdkafka.h>
Expand Down Expand Up @@ -298,4 +298,16 @@ const (
ErrGroupMaxSizeReached ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_GROUP_MAX_SIZE_REACHED)
// ErrFencedInstanceID Broker: Static consumer fenced by other consumer with same group.instance.id
ErrFencedInstanceID ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_FENCED_INSTANCE_ID)
// ErrEligibleLeadersNotAvailable Broker: Eligible partition leaders are not available
ErrEligibleLeadersNotAvailable ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_ELIGIBLE_LEADERS_NOT_AVAILABLE)
// ErrElectionNotNeeded Broker: Leader election not needed for topic partition
ErrElectionNotNeeded ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_ELECTION_NOT_NEEDED)
// ErrNoReassignmentInProgress Broker: No partition reassignment is in progress
ErrNoReassignmentInProgress ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_NO_REASSIGNMENT_IN_PROGRESS)
// ErrGroupSubscribedToTopic Broker: Deleting offsets of a topic while the consumer group is subscribed to it
ErrGroupSubscribedToTopic ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_GROUP_SUBSCRIBED_TO_TOPIC)
// ErrInvalidRecord Broker: Broker failed to validate record
ErrInvalidRecord ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_INVALID_RECORD)
// ErrUnstableOffsetCommit Broker: There are unstable offsets that need to be cleared
ErrUnstableOffsetCommit ErrorCode = ErrorCode(C.RD_KAFKA_RESP_ERR_UNSTABLE_OFFSET_COMMIT)
)
Binary file modified kafka/librdkafka/librdkafka_darwin.a
Binary file not shown.
Binary file modified kafka/librdkafka/librdkafka_glibc_linux.a
Binary file not shown.
Binary file modified kafka/librdkafka/librdkafka_musl_linux.a
Binary file not shown.
Loading

0 comments on commit 8bd1e41

Please sign in to comment.