Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 11, 2023

This PR contains the following updates:

Package Change Age Confidence
github.com/confluentinc/confluent-kafka-go v1.9.2 -> v2.12.0 age confidence

Release Notes

confluentinc/confluent-kafka-go (github.com/confluentinc/confluent-kafka-go)

v2.12.0

Compare Source

This is a feature release:

KIP-848 – General Availability

Starting with confluent-kafka-go 2.12.0, the next generation consumer group rebalance protocol defined in KIP-848 is production-ready. Please refer to the following migration guide for moving from classic to consumer protocol.

Note: The new consumer group protocol defined in KIP-848 is not enabled by default. There are few contract change associated with the new protocol and might cause breaking changes. group.protocol configuration property dictates whether to use the new consumer protocol or older classic protocol. It defaults to classic if not provided.

Enhancements
  • OAuth OIDC method example for Kafka metadata based authentication with
    an Azure IMDS endpoint using an attached managed identity as principal (#​1477).

confluent-kafka-go is based on librdkafka v2.12.0, see the
librdkafka v2.12.0 release notes
for a complete list of changes, enhancements, fixes and upgrade considerations.

v2.11.1

Compare Source

This is a maintenance release:

confluent-kafka-go is based on librdkafka v2.11.1, see the
librdkafka v2.11.1 release notes
for a complete list of changes, enhancements, fixes and upgrade considerations.

v2.11.0

Compare Source

This is a feature release:

confluent-kafka-go is based on librdkafka v2.11.0, see the
librdkafka v2.11.0 release notes
for a complete list of changes, enhancements, fixes and upgrade considerations.

v2.10.1

Compare Source

This is a maintenance release:

confluent-kafka-go is based on librdkafka v2.10.1, see the
librdkafka v2.10.1 release notes
for a complete list of changes, enhancements, fixes and upgrade considerations.

Enhancements
  • Support for schema id in header (#​1431)
  • Use hamba encoder schema function if available (#​1440)
Fixes
  • Prevent panic when schemaregistry is configured without an auth provider (#​1424)
  • Fix NPE in CSFLE executor (#​1432)

v2.10.0

Compare Source

This is a feature release:

confluent-kafka-go is based on librdkafka v2.10.0, see the
librdkafka v2.10.0 release notes
for a complete list of changes, enhancements, fixes and upgrade considerations.

There was no v2.9.0 release.

Enhancements
  • [KIP-848] Group Config is now supported in AlterConfigs, IncrementalAlterConfigs and DescribeConfigs. (#​1344)
  • [KIP-848] DescribeConsumerGroups() now supports KIP-848 introduced consumer groups. Two new fields for consumer group type and target assignment have also been added. Type defines whether this group is a classic or consumer group. Target assignment is only valid for the consumer protocol and its defaults to NULL. (#​1418).

v2.8.0

Compare Source

This is a feature release:

confluent-kafka-go is based on librdkafka v2.8.0, see the
librdkafka v2.8.0 release notes
for a complete list of changes, enhancements, fixes and upgrade considerations.

There was no v2.7.0 release.

Enhancements
  • Add retry logic to RestService for Schema Registry (#​1337)
  • Add ability to override disable flag and actions on a rule (#​1356)
  • Add AWS AssumeRole support to AWS KMS (#​1359)
  • Add support for comma-separated URLs (#​1364)
Fixes
  • Add deleted query param when looking up schema under subject (#​1340)
  • For Protobuf, copy the result into the target if necessary (#​1347)
  • Don't register maps as native types in CEL rules (#​1348)
  • Lookup local secret from env if needed (#​1349)
  • Ensure different key ids use different client instances (#​1352)
  • Fix handling of nested maps for Avro and JSON Schema (#​1355)
  • Ensure algorithm query param is passed for CSFLE (#​1373)

v2.6.1

Compare Source

This is a maintenance release:

confluent-kafka-go is based on librdkafka v2.6.1, see the
librdkafka v2.6.1 release notes
for a complete list of changes, enhancements, fixes and upgrade considerations.

Fixes
  • Minor optimization to reduce schema ID lookups (#​1318).
  • Support transforming maps in Data Contract rules (#​1324).
  • Minor optimization to not derive schema when using existing schema (#​1327).

v2.6.0

Compare Source

This is a feature release:

  • KIP-848 EA: Admin API for listing consumer groups now has an optional filter to return only groups of given types (#​1267).
  • KIP-460 Admin Leader Election RPC (#​1311)

confluent-kafka-go is based on librdkafka v2.6.0, see the
librdkafka v2.6.0 release notes
for a complete list of changes, enhancements, fixes and upgrade considerations.

v2.5.4

Compare Source

v2.5.4 is a maintenance release with the following fixes and enhancements:

  • Upgrade azidentity library to 1.6.0.
  • Upgrade vault library to 1.15.0.
  • Handle primitives in avrov2 library.
  • Allow RuleRegistry to be set in serdes.

confluent-kafka-go is based on librdkafka v2.5.3, see the librdkafka v2.5.3 release notes for a complete list of changes, enhancements, fixes and upgrade considerations.

v2.5.3

Compare Source

v2.5.3 is a maintenance release with the following fixes and enhancements:

  • Properly handle 409 conflicts when registering KEKs/DEKs.
  • Run rule actions when a rule condition fails.
  • Include deleted schemas when getting schemas by subject and version.
  • Handle signed ints when transforming Protobuf payloads.
  • Use correct URL when calling DEK Registry to retrieve a DEK by version.
  • Upgrade Hamba Avro library to 2.24.0.
  • Perform Avro schema resolution in the Avro deserializer if necessary.
  • Add some missing APIs to the Schema Registry client.

confluent-kafka-go is based on librdkafka v2.5.3, see the librdkafka v2.5.3 release notes for a complete list of changes, enhancements, fixes and upgrade considerations.

There were no v2.5.1 or v2.5.2 releases.

v2.5.0

Compare Source

[!WARNING]
This version has introduced a regression in which an assert is triggered during PushTelemetry call. This happens when no metric is matched on the client side among those requested by broker subscription.

You won't face any problem if:

  • Broker doesn't support KIP-714.
  • KIP-714 feature is disabled on the broker side.
  • KIP-714 feature is disabled on the client side. This is enabled by default. Set configuration enable.metrics.push to false.
  • If KIP-714 is enabled on the broker side and there is no subscription configured there.
  • If KIP-714 is enabled on the broker side with subscriptions that match the KIP-714 metrics defined on the client.

Having said this, we strongly recommend using v2.5.3 and above to not face this regression at all.

This is a feature release.

  • Adds an AdminAPI DeleteRecords() (#​1141, @​PratRanj07).
  • Add support for metadata and ruleSet in the schema registry client, which together support data
    contracts.
  • Add a new Avro package "avrov2" which uses the Avro hamba library. The old package "avro" uses
    Avro libraries which are no longer maintained and should not be used in new code.
  • Move rest service for schema registry client into internal package for use by both the SR client
    and the DEK Registry client.
  • Add support for CSFLE (client-side field-level encryption) for AWS, Azure, GCP, and HashiCorp
    Vault. See the encryption examples in the examples directory.
  • Add support for CEL, CEL_FIELD, and JSONata rules.

Fixes

  • Issues: #​965
    Windows builds are linked to libssp in addition to other libraries, since
    the bundled zstd and zlib are built with -fstack-protector, and not linking
    causes build failures.
    Happening since 2.0.0 (#​1184).

confluent-kafka-go is based on librdkafka v2.5.0, see the librdkafka v2.5.0 release notes for a complete list of changes, enhancements, fixes and upgrade considerations.

v2.4.0

Compare Source

This is a feature release.

  • KIP-848: Integration tests running with the new consumer group protocol. The feature is an Early Access: not production ready (#​1185).
  • Allow custom http.Client to be passed to schema registry client (#​1099)
  • Cache schemas when setting UseLatestVersion=true (#​1100)
  • Add CacheLatestTtlSecs to allow expiration of latest schemas (#​1106)
  • Cache parsed file descriptors in Protobuf deserializer (#​1128)
  • Add CacheSchemas option to Protobuf serializer (#​1151)
  • Add tags field to Confluent metadata (#​1131)

Fixes

  • The version of Go in go.mod has been changed from 1.17 to 1.21. This is necessary to update test dependencies with security vulnerabilities. Code using the library will still work with Go 1.17 (#​1136, @​rzeijde).
  • Fix JSON validation during serialization (#​1101)
  • Fix counter in mock schema registry client (#​1170)

confluent-kafka-go is based on librdkafka v2.4.0, see the librdkafka v2.4.0 release notes for a complete list of changes, enhancements, fixes and upgrade considerations.

v2.3.0

Compare Source

This is a feature release.

  • Adds support for AdminAPI DescribeCluster() and DescribeTopics() (#​964, @​jainruchir).
  • KIP-430: Return authorized operations in Describe Responses. (#​964, @​jainruchir).
  • Adds Rack to the Node type, so AdminAPI calls can expose racks for brokers (currently, all Describe Responses) (#​964, @​jainruchir).
  • KIP-396: completed the implementation with the addition of ListOffsets (#​1029).
  • Adds cache for Schema Registry client's GetSchemaMetadata (#​1042).
  • MockCluster can now be shutdown and started again to test broker availability problems (#​998, @​kkoehler).
  • Adds CreateTopic method to the MockCluster. (#​1047, @​mimikwang).
  • Honor HTTPS_PROXY environment variable, if set, for the Schema Registry client (#​1065, @​finncolman).
  • KIP-516: Partial support of topic identifiers. Topic identifiers in metadata response are available through the new DescribeTopics function (#​1068).

Fixes

  • Fixes a bug in the mock schema registry client where the wrong ID was being returned for pre-registered schema (#​971, @​srlk).
  • The minimum version of Go supported has been changed from 1.16 to 1.17 (#​1074).
  • Fixes an issue where testing was being imported by a non-test file, testhelpers.go. (#​1049, @​dmlambea).
  • Fixes the optional Coordinator field in ConsumerGroupDescription in case it's not known. It now contains a Node with ID -1 in that case. Avoids a C segmentation fault.
  • Fixes an issue with Producer.Flush. It was waiting for queue.buffering.max.ms while flushing (#​1013).
  • Fixes an issue where consumer methods would not be allowed to run while the 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 for a complete list of changes, enhancements, fixes and upgrade considerations.

v2.2.0

Compare Source

This is a feature release.

Fixes

  • Fixes a nil pointer bug in the protobuf Serializer.Serialize(), caused due to an unchecked error (#​997, @​baganokodo2022).
  • Fixes incorrect protofbuf FileDescriptor references (#​989, @​Mrmann87).
  • Allow fetching all partition offsets for a consumer group by passing a nil slice in AdminClient.ListConsumerGroupOffsets, when earlier it was not processing that correctly (#​985, @​alexandredantas).
  • Deprecate m.LeaderEpoch in favor of m.TopicPartition.LeaderEpoch (#​1012).

confluent-kafka-go is based on librdkafka v2.2.0, see the librdkafka v2.2.0 release notes for a complete list of changes, enhancements, fixes and upgrade considerations.

v2.1.1

Compare Source

This is a maintenance release.

It is strongly recommended to update to v2.1.1 if v2.1.0 is being used, as it fixes a critical issue in the consumer (#​980).

confluent-kafka-go is based on librdkafka v2.1.1, see the librdkafka v2.1.1 release notes for a complete list of changes, enhancements, fixes and upgrade considerations.

v2.1.0

Compare Source

This is a feature release.

  • Added Consumer SeekPartitions() method to seek multiple partitions at once and deprecated Seek() (#​940).
  • KIP-320: add offset leader epoch to the TopicPartition and Message structs (#​968).
  • The minimum version of Go supported has been changed from 1.14 to 1.16 (#​973).
  • Add validation on the Producer, the Consumer and the AdminClient to prevent panic when they are used after close (#​901).
  • Fix bug causing schema-registry URL with existing path to not be parsed correctly (#​950).
  • Support for Offset types on Offset.Set() (#​962, @​jdockerty).
  • Added example for using rebalance callback with manual commit.

confluent-kafka-go is based on librdkafka v2.1.0, see the librdkafka v2.1.0 release notes and later ones for a complete list of changes, enhancements, fixes and upgrade considerations.

v2.0.2

Compare Source

This is a feature release:

  • Added SetSaslCredentials. This new method (on the Producer, Consumer, and AdminClient) allows modifying the stored SASL PLAIN/SCRAM credentials that will be used for subsequent (new) connections to a broker (#​879).
  • Channel based producer (Producer ProduceChannel()) and channel based consumer (Consumer Events()) are deprecated (#​894).
  • Added IsTimeout() on Error type. This is a convenience method that checks if the error is due to a timeout (#​903).
  • The timeout parameter on Seek() is now ignored and an infinite timeout is used, the method will block until the fetcher state is updated (typically within microseconds) (#​906)
  • The minimum version of Go supported has been changed from 1.11 to 1.14.
  • KIP-222 Add Consumer Group operations to Admin API.
  • KIP-518 Allow listing consumer groups per state.
  • KIP-396 Partially implemented: support for AlterConsumerGroupOffsets.
  • As result of the above KIPs, added (#​923)
    • ListConsumerGroups Admin operation. Supports listing by state.
    • DescribeConsumerGroups Admin operation. Supports multiple groups.
    • DeleteConsumerGroups Admin operation. Supports multiple groups (@​vsantwana).
    • ListConsumerGroupOffsets Admin operation. Currently, only supports 1 group with multiple partitions. Supports the requireStable option.
    • AlterConsumerGroupOffsets Admin operation. Currently, only supports 1 group with multiple offsets.
  • Added SetRoundtripDuration to the mock broker for setting RTT delay for a given mock broker (@​kkoehler, #​892).
  • Built-in support for Linux/ arm64. (#​933).

Fixes

  • The SpecificDeserializer.Deserialize method was not returning its result correctly, and was hence unusable. The return has been fixed (#​849).
  • The schema ID to use during serialization, specified in SerializerConfig, was ignored. It is now used as expected (@​perdue, #​870).
  • Creating a new schema registry client with an SSL CA Certificate led to a panic. This was due to a nil pointer, fixed with proper initialization (@​HansK-p, @​ju-popov, #​878).

Upgrade Considerations

  • OpenSSL 3.0.x upgrade in librdkafka requires a major version bump, as some legacy ciphers need to be explicitly configured to continue working, but it is highly recommended not to use them. The rest of the API remains backward compatible, see the librdkafka release notes below for details.
  • As required by the Go module system, a suffix with the new major version has been added to the module name, and package imports must reflect this change.

confluent-kafka-go is based on librdkafka v2.0.2, see the librdkafka v2.0.0 release notes and later ones for a complete list of changes, enhancements, fixes and upgrade considerations.

Note: There were no confluent-kafka-go v2.0.0 or v2.0.1 releases.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from 52bad84 to c88d409 Compare March 24, 2023 18:31
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from c88d409 to 43ff4e7 Compare April 17, 2023 10:30
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from 43ff4e7 to 9bb88eb Compare May 28, 2023 10:56
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from 9bb88eb to 379036a Compare July 12, 2023 13:39
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from 379036a to fa0fecc Compare August 22, 2023 19:58
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from fa0fecc to 684634b Compare October 25, 2023 18:03
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch 2 times, most recently from e698a92 to 26bd846 Compare May 9, 2024 11:04
@renovate
Copy link
Contributor Author

renovate bot commented Jun 4, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 6 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.19 -> 1.21
github.com/sirupsen/logrus v1.9.0 -> v1.9.3
github.com/klauspost/compress v1.15.9 -> v1.17.9
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa -> v0.27.0
golang.org/x/net v0.0.0-20220809184613-07c6da5e1ced -> v0.29.0
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 -> v0.8.0
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 -> v0.25.0

@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from 26bd846 to d7f33e9 Compare June 17, 2024 16:04
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from d7f33e9 to 1d0d06b Compare July 10, 2024 17:26
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from 1d0d06b to 047e9d9 Compare September 3, 2024 08:20
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from 047e9d9 to e74acfa Compare September 11, 2024 14:55
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from e74acfa to c0b059e Compare September 24, 2024 19:23
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from c0b059e to a8fe227 Compare October 11, 2024 00:47
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch 2 times, most recently from 454d0fb to 25a6a3f Compare November 18, 2024 23:14
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from 25a6a3f to 92a7728 Compare December 22, 2024 16:07
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from 92a7728 to 2a64966 Compare January 7, 2025 17:39
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from 2a64966 to c2d3654 Compare March 3, 2025 13:37
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from c2d3654 to 8fb38b3 Compare March 11, 2025 15:19
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from 8fb38b3 to dfa2d90 Compare April 8, 2025 16:25
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from dfa2d90 to ff38757 Compare April 18, 2025 00:49
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from ff38757 to 5a3ed27 Compare May 7, 2025 09:39
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from 5a3ed27 to bf99e86 Compare June 11, 2025 15:01
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from bf99e86 to 9198d2c Compare July 3, 2025 18:02
@renovate renovate bot changed the title Update module github.com/confluentinc/confluent-kafka-go to v2 Update module github.com/confluentinc/confluent-kafka-go to v2 - autoclosed Jul 30, 2025
@renovate renovate bot closed this Jul 30, 2025
@renovate renovate bot deleted the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch July 30, 2025 13:41
@renovate renovate bot changed the title Update module github.com/confluentinc/confluent-kafka-go to v2 - autoclosed Update module github.com/confluentinc/confluent-kafka-go to v2 Jul 30, 2025
@renovate renovate bot reopened this Jul 30, 2025
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch 2 times, most recently from 9198d2c to f4b9b16 Compare July 31, 2025 03:41
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from f4b9b16 to 589b6b4 Compare August 10, 2025 14:35
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from 589b6b4 to 269ecf8 Compare August 18, 2025 22:56
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch from 269ecf8 to 33229fe Compare October 10, 2025 02:26
@renovate renovate bot changed the title Update module github.com/confluentinc/confluent-kafka-go to v2 Update module github.com/confluentinc/confluent-kafka-go to v2 - autoclosed Nov 20, 2025
@renovate renovate bot closed this Nov 20, 2025
@renovate renovate bot changed the title Update module github.com/confluentinc/confluent-kafka-go to v2 - autoclosed Update module github.com/confluentinc/confluent-kafka-go to v2 Nov 20, 2025
@renovate renovate bot reopened this Nov 20, 2025
@renovate renovate bot force-pushed the renovate/github.com-confluentinc-confluent-kafka-go-2.x branch 2 times, most recently from 33229fe to 8bf9de9 Compare November 20, 2025 14:09
@renovate
Copy link
Contributor Author

renovate bot commented Dec 15, 2025

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 6 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.19 -> 1.21
github.com/sirupsen/logrus v1.9.0 -> v1.9.3
github.com/klauspost/compress v1.15.9 -> v1.17.9
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa -> v0.27.0
golang.org/x/net v0.0.0-20220809184613-07c6da5e1ced -> v0.29.0
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 -> v0.8.0
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 -> v0.25.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant