Skip to content

Commit

Permalink
librdkafka v2.3.0 (#1086)
Browse files Browse the repository at this point in the history
  • Loading branch information
milindl authored Oct 25, 2023
2 parents cd781ba + fc29e3d commit 5f88a1c
Show file tree
Hide file tree
Showing 21 changed files with 345 additions and 343 deletions.
2 changes: 1 addition & 1 deletion .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ agent:
global_job_config:
env_vars:
- name: LIBRDKAFKA_VERSION
value: v2.3.0-RC4
value: v2.3.0
prologue:
commands:
- checkout
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ This is a feature release.
consumer was closing, and during the final partition revoke (#1073).

confluent-kafka-go is based on librdkafka v2.3.0, see the
[librdkafka v2.3.0 release notes](https://github.com/confluentinc/librdkafka/releases/tag/v2.3.0-RC4)
[librdkafka v2.3.0 release notes](https://github.com/confluentinc/librdkafka/releases/tag/v2.3.0)
for a complete list of changes, enhancements, fixes and upgrade considerations.


Expand Down
2 changes: 1 addition & 1 deletion examples/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replace github.com/confluentinc/confluent-kafka-go/v2 => ../
require (
github.com/actgardner/gogen-avro/v10 v10.2.1
github.com/alecthomas/kingpin v2.2.6+incompatible
github.com/confluentinc/confluent-kafka-go/v2 v2.3.0-RC4
github.com/confluentinc/confluent-kafka-go/v2 v2.3.0
github.com/gdamore/tcell v1.4.0
google.golang.org/protobuf v1.30.0
)
Expand Down
614 changes: 308 additions & 306 deletions kafka/api.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion kafka/build_darwin_amd64.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 darwin_amd64 from librdkafka-static-bundle-v2.3.0-RC4.tgz"
const LibrdkafkaLinkInfo = "static darwin_amd64 from librdkafka-static-bundle-v2.3.0.tgz"
2 changes: 1 addition & 1 deletion kafka/build_darwin_arm64.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 darwin_arm64 from librdkafka-static-bundle-v2.3.0-RC4.tgz"
const LibrdkafkaLinkInfo = "static darwin_arm64 from librdkafka-static-bundle-v2.3.0.tgz"
2 changes: 1 addition & 1 deletion kafka/build_glibc_linux_amd64.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_amd64 from librdkafka-static-bundle-v2.3.0-RC4.tgz"
const LibrdkafkaLinkInfo = "static glibc_linux_amd64 from librdkafka-static-bundle-v2.3.0.tgz"
2 changes: 1 addition & 1 deletion kafka/build_glibc_linux_arm64.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_arm64 from librdkafka-static-bundle-v2.3.0-RC4.tgz"
const LibrdkafkaLinkInfo = "static glibc_linux_arm64 from librdkafka-static-bundle-v2.3.0.tgz"
2 changes: 1 addition & 1 deletion kafka/build_musl_linux_amd64.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_amd64 from librdkafka-static-bundle-v2.3.0-RC4.tgz"
const LibrdkafkaLinkInfo = "static musl_linux_amd64 from librdkafka-static-bundle-v2.3.0.tgz"
2 changes: 1 addition & 1 deletion kafka/build_musl_linux_arm64.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_arm64 from librdkafka-static-bundle-v2.3.0-RC4.tgz"
const LibrdkafkaLinkInfo = "static musl_linux_arm64 from librdkafka-static-bundle-v2.3.0.tgz"
2 changes: 1 addition & 1 deletion kafka/build_windows.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 windows from librdkafka-static-bundle-v2.3.0-RC4.tgz"
const LibrdkafkaLinkInfo = "static windows from librdkafka-static-bundle-v2.3.0.tgz"
2 changes: 1 addition & 1 deletion kafka/generated_errors.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package kafka

// Copyright 2016-2023 Confluent Inc.
// AUTOMATICALLY GENERATED ON 2023-10-24 22:14:56.060860367 +0200 CEST m=+0.000525220 USING librdkafka 2.3.0-RC4
// AUTOMATICALLY GENERATED ON 2023-10-25 15:32:05.267754826 +0200 CEST m=+0.000622161 USING librdkafka 2.3.0

/*
#include "select_rdkafka.h"
Expand Down
Binary file modified kafka/librdkafka_vendor/librdkafka_darwin_amd64.a
Binary file not shown.
Binary file modified kafka/librdkafka_vendor/librdkafka_darwin_arm64.a
Binary file not shown.
Binary file modified kafka/librdkafka_vendor/librdkafka_glibc_linux_amd64.a
Binary file not shown.
Binary file modified kafka/librdkafka_vendor/librdkafka_glibc_linux_arm64.a
Binary file not shown.
Binary file modified kafka/librdkafka_vendor/librdkafka_musl_linux_amd64.a
Binary file not shown.
Binary file modified kafka/librdkafka_vendor/librdkafka_musl_linux_arm64.a
Binary file not shown.
2 changes: 1 addition & 1 deletion mk/doc-gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def convert_path(url, base_url, after):
sys.exit(1)
package = sys.argv[1]

tag = "v2.3.0-RC4"
tag = "v2.3.0"
major = tag.split(".")[0] # e.g. v2
base_css = "https://go.dev/css"
base_js = "https://go.dev/js"
Expand Down
48 changes: 24 additions & 24 deletions schemaregistry/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,19 +205,19 @@ <h3>
</h3>
<p>
<span style="font-size:90%">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/config.go">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/config.go">
config.go
</a>
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/mock_schemaregistry_client.go">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/mock_schemaregistry_client.go">
mock_schemaregistry_client.go
</a>
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/rest_service.go">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/rest_service.go">
rest_service.go
</a>
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/schemaregistry_client.go">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/schemaregistry_client.go">
schemaregistry_client.go
</a>
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/testhelpers.go">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/testhelpers.go">
testhelpers.go
</a>
</span>
Expand Down Expand Up @@ -248,7 +248,7 @@ <h2 id="pkg-constants">
)</pre>
<h2 id="Client">
type
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/schemaregistry_client.go?s=6616:7766#L189">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/schemaregistry_client.go?s=6616:7766#L189">
Client
</a>
<a class="permalink" href="#Client">
Expand Down Expand Up @@ -281,7 +281,7 @@ <h2 id="Client">
}</pre>
<h3 id="NewClient">
func
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/schemaregistry_client.go?s=7813:7857#L208">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/schemaregistry_client.go?s=7813:7857#L208">
NewClient
</a>
<a class="permalink" href="#NewClient">
Expand All @@ -294,7 +294,7 @@ <h3 id="NewClient">
</p>
<h2 id="Compatibility">
type
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/schemaregistry_client.go?s=18450:18472#L561">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/schemaregistry_client.go?s=18450:18472#L561">
Compatibility
</a>
<a class="permalink" href="#Compatibility">
Expand All @@ -307,7 +307,7 @@ <h2 id="Compatibility">
<pre>type Compatibility <a href="https://pkg.go.dev/builtin/#int">int</a></pre>
<h3 id="Compatibility.MarshalJSON">
func (Compatibility)
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/schemaregistry_client.go?s=19227:19279#L599">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/schemaregistry_client.go?s=19227:19279#L599">
MarshalJSON
</a>
<a class="permalink" href="#Compatibility.MarshalJSON">
Expand All @@ -320,7 +320,7 @@ <h3 id="Compatibility.MarshalJSON">
</p>
<h3 id="Compatibility.ParseString">
func (*Compatibility)
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/schemaregistry_client.go?s=19700:19753#L618">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/schemaregistry_client.go?s=19700:19753#L618">
ParseString
</a>
<a class="permalink" href="#Compatibility.ParseString">
Expand All @@ -333,7 +333,7 @@ <h3 id="Compatibility.ParseString">
</p>
<h3 id="Compatibility.String">
func (Compatibility)
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/schemaregistry_client.go?s=19567:19605#L613">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/schemaregistry_client.go?s=19567:19605#L613">
String
</a>
<a class="permalink" href="#Compatibility.String">
Expand All @@ -343,7 +343,7 @@ <h3 id="Compatibility.String">
<pre>func (c <a href="#Compatibility">Compatibility</a>) String() <a href="https://pkg.go.dev/builtin/#string">string</a></pre>
<h3 id="Compatibility.UnmarshalJSON">
func (*Compatibility)
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/schemaregistry_client.go?s=19363:19416#L604">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/schemaregistry_client.go?s=19363:19416#L604">
UnmarshalJSON
</a>
<a class="permalink" href="#Compatibility.UnmarshalJSON">
Expand All @@ -356,7 +356,7 @@ <h3 id="Compatibility.UnmarshalJSON">
</p>
<h2 id="Config">
type
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/config.go?s=722:2038#L12">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/config.go?s=722:2038#L12">
Config
</a>
<a class="permalink" href="#Config">
Expand Down Expand Up @@ -401,7 +401,7 @@ <h2 id="Config">
</pre>
<h3 id="NewConfig">
func
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/config.go?s=2110:2144#L46">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/config.go?s=2110:2144#L46">
NewConfig
</a>
<a class="permalink" href="#NewConfig">
Expand All @@ -414,7 +414,7 @@ <h3 id="NewConfig">
</p>
<h3 id="NewConfigWithAuthentication">
func
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/config.go?s=2710:2796#L71">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/config.go?s=2710:2796#L71">
NewConfigWithAuthentication
</a>
<a class="permalink" href="#NewConfigWithAuthentication">
Expand All @@ -428,7 +428,7 @@ <h3 id="NewConfigWithAuthentication">
</p>
<h2 id="Reference">
type
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/schemaregistry_client.go?s=3024:3145#L60">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/schemaregistry_client.go?s=3024:3145#L60">
Reference
</a>
<a class="permalink" href="#Reference">
Expand All @@ -446,7 +446,7 @@ <h2 id="Reference">
</pre>
<h2 id="RestError">
type
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/rest_service.go?s=2572:2666#L84">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/rest_service.go?s=2572:2666#L84">
RestError
</a>
<a class="permalink" href="#RestError">
Expand All @@ -463,7 +463,7 @@ <h2 id="RestError">
</pre>
<h3 id="RestError.Error">
func (*RestError)
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/rest_service.go?s=2715:2751#L90">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/rest_service.go?s=2715:2751#L90">
Error
</a>
<a class="permalink" href="#RestError.Error">
Expand All @@ -476,7 +476,7 @@ <h3 id="RestError.Error">
</p>
<h2 id="SchemaInfo">
type
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/schemaregistry_client.go?s=3197:3381#L67">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/schemaregistry_client.go?s=3197:3381#L67">
SchemaInfo
</a>
<a class="permalink" href="#SchemaInfo">
Expand All @@ -494,7 +494,7 @@ <h2 id="SchemaInfo">
</pre>
<h3 id="SchemaInfo.MarshalJSON">
func (*SchemaInfo)
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/schemaregistry_client.go?s=3438:3489#L74">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/schemaregistry_client.go?s=3438:3489#L74">
MarshalJSON
</a>
<a class="permalink" href="#SchemaInfo.MarshalJSON">
Expand All @@ -507,7 +507,7 @@ <h3 id="SchemaInfo.MarshalJSON">
</p>
<h3 id="SchemaInfo.UnmarshalJSON">
func (*SchemaInfo)
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/schemaregistry_client.go?s=3802:3853#L87">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/schemaregistry_client.go?s=3802:3853#L87">
UnmarshalJSON
</a>
<a class="permalink" href="#SchemaInfo.UnmarshalJSON">
Expand All @@ -520,7 +520,7 @@ <h3 id="SchemaInfo.UnmarshalJSON">
</p>
<h2 id="SchemaMetadata">
type
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/schemaregistry_client.go?s=4235:4401#L105">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/schemaregistry_client.go?s=4235:4401#L105">
SchemaMetadata
</a>
<a class="permalink" href="#SchemaMetadata">
Expand All @@ -539,7 +539,7 @@ <h2 id="SchemaMetadata">
</pre>
<h3 id="SchemaMetadata.MarshalJSON">
func (*SchemaMetadata)
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/schemaregistry_client.go?s=4458:4513#L113">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/schemaregistry_client.go?s=4458:4513#L113">
MarshalJSON
</a>
<a class="permalink" href="#SchemaMetadata.MarshalJSON">
Expand All @@ -552,7 +552,7 @@ <h3 id="SchemaMetadata.MarshalJSON">
</p>
<h3 id="SchemaMetadata.UnmarshalJSON">
func (*SchemaMetadata)
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0-RC4/schemaregistry/schemaregistry_client.go?s=5014:5069#L132">
<a href="https://github.com/confluentinc/confluent-kafka-go/blob/v2.3.0/schemaregistry/schemaregistry_client.go?s=5014:5069#L132">
UnmarshalJSON
</a>
<a class="permalink" href="#SchemaMetadata.UnmarshalJSON">
Expand Down
2 changes: 1 addition & 1 deletion soaktest/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replace github.com/confluentinc/confluent-kafka-go/v2 => ../
require (
github.com/DataDog/datadog-go v4.8.3+incompatible
github.com/Microsoft/go-winio v0.6.0 // indirect
github.com/confluentinc/confluent-kafka-go/v2 v2.3.0-RC4
github.com/confluentinc/confluent-kafka-go/v2 v2.3.0
github.com/shirou/gopsutil v3.21.11+incompatible
github.com/tklauser/go-sysconf v0.3.11 // indirect
github.com/yusufpapurcu/wmi v1.2.2 // indirect
Expand Down

0 comments on commit 5f88a1c

Please sign in to comment.