Skip to content

Commit 13ae115

Browse files
authored
Merge pull request #641 from confluentinc/import_v1.7.0
Import librdkafka v1.7.0
2 parents f0d7516 + b2e5208 commit 13ae115

File tree

11 files changed

+122
-52
lines changed

11 files changed

+122
-52
lines changed

kafka/api.html

Lines changed: 45 additions & 44 deletions
Large diffs are not rendered by default.

kafka/build_darwin.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
package kafka
77

8-
// #cgo CFLAGS: -DUSE_VENDORED_LIBRDKAFKA
8+
// #cgo CFLAGS: -DUSE_VENDORED_LIBRDKAFKA -DLIBRDKAFKA_STATICLIB
99
// #cgo LDFLAGS: ${SRCDIR}/librdkafka_vendor/librdkafka_darwin.a -lz -lm -lsasl2 -ldl -lpthread
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.6.1.tgz"
13+
const LibrdkafkaLinkInfo = "static darwin from librdkafka-static-bundle-v1.7.0.tgz"

kafka/build_glibc_linux.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
package kafka
77

8-
// #cgo CFLAGS: -DUSE_VENDORED_LIBRDKAFKA
8+
// #cgo CFLAGS: -DUSE_VENDORED_LIBRDKAFKA -DLIBRDKAFKA_STATICLIB
99
// #cgo LDFLAGS: ${SRCDIR}/librdkafka_vendor/librdkafka_glibc_linux.a -lm -ldl -lpthread -lrt
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.6.1.tgz"
13+
const LibrdkafkaLinkInfo = "static glibc_linux from librdkafka-static-bundle-v1.7.0.tgz"

kafka/build_musl_linux.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
package kafka
77

8-
// #cgo CFLAGS: -DUSE_VENDORED_LIBRDKAFKA
8+
// #cgo CFLAGS: -DUSE_VENDORED_LIBRDKAFKA -DLIBRDKAFKA_STATICLIB
99
// #cgo LDFLAGS: ${SRCDIR}/librdkafka_vendor/librdkafka_musl_linux.a -lm -ldl -lpthread -lrt -lpthread -lrt
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.6.1.tgz"
13+
const LibrdkafkaLinkInfo = "static musl_linux from librdkafka-static-bundle-v1.7.0.tgz"

kafka/build_windows.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// +build !dynamic
2+
3+
4+
// This file was auto-generated by librdkafka_vendor/bundle-import.sh, DO NOT EDIT.
5+
6+
package kafka
7+
8+
// #cgo CFLAGS: -DUSE_VENDORED_LIBRDKAFKA -DLIBRDKAFKA_STATICLIB
9+
// #cgo LDFLAGS: ${SRCDIR}/librdkafka_vendor/librdkafka_windows.a -lws2_32 -lsecur32 -lcrypt32
10+
import "C"
11+
12+
// LibrdkafkaLinkInfo explains how librdkafka was linked to the Go client
13+
const LibrdkafkaLinkInfo = "static windows from librdkafka-static-bundle-v1.7.0.tgz"

kafka/generated_errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package kafka
22
// 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
3+
// AUTOMATICALLY GENERATED ON 2021-05-10 11:33:08.588919179 +0200 CEST m=+0.000341587 USING librdkafka 1.7.0-dirty
44

55
/*
66
#include "select_rdkafka.h"
35.6 KB
Binary file not shown.
54.7 KB
Binary file not shown.
279 KB
Binary file not shown.
9.57 MB
Binary file not shown.

0 commit comments

Comments
 (0)