Update module github.com/confluentinc/confluent-kafka-go to v2 #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.9.2
->v2.11.1
Release Notes
confluentinc/confluent-kafka-go (github.com/confluentinc/confluent-kafka-go)
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
Fixes
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
DescribeConsumerGroups()
now supports KIP-848 introducedconsumer
groups. Two new fields for consumer group type and target assignment have also been added. Type defines whether this group is aclassic
orconsumer
group. Target assignment is only valid for theconsumer
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
Fixes
v2.6.1
Compare Source
This is a maintenance release:
Fixes
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.
v2.6.0
Compare Source
This is a feature release:
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:
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:
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
This is a feature release.
DeleteRecords()
(#1141, @PratRanj07).contracts.
Avro libraries which are no longer maintained and should not be used in new code.
and the DEK Registry client.
Vault. See the encryption examples in the examples directory.
Fixes
Windows builds are linked to
libssp
in addition to other libraries, sincethe bundled zstd and zlib are built with
-fstack-protector
, and not linkingcauses 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.
UseLatestVersion=true
(#1100)CacheLatestTtlSecs
to allow expiration of latest schemas (#1106)CacheSchemas
option to Protobuf serializer (#1151)tags
field to Confluent metadata (#1131)Fixes
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.
DescribeCluster()
andDescribeTopics()
(#964, @jainruchir).
Return authorized operations in Describe Responses.
(#964, @jainruchir).
Rack
to theNode
type, so AdminAPI calls can expose racks for brokers(currently, all Describe Responses) (#964, @jainruchir).
the addition of ListOffsets (#1029).
GetSchemaMetadata
(#1042).availability problems (#998, @kkoehler).
CreateTopic
method to the MockCluster. (#1047, @mimikwang).HTTPS_PROXY
environment variable, if set, for the Schema Registryclient (#1065, @finncolman).
Partial support of topic identifiers. Topic identifiers in metadata response
are available through the new
DescribeTopics
function (#1068).Fixes
returned for pre-registered schema (#971, @srlk).
(#1074).
testing
was being imported by a non-test file,testhelpers.go. (#1049, @dmlambea).
Coordinator
field inConsumerGroupDescription
in caseit's not known. It now contains a
Node
with ID -1 in that case.Avoids a C segmentation fault.
Producer.Flush
. It was waiting forqueue.buffering.max.ms
while flushing (#1013).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
Serializer.Serialize()
, caused due to an unchecked error (#997, @baganokodo2022).nil
slice inAdminClient.ListConsumerGroupOffsets
, when earlier it was not processing that correctly (#985, @alexandredantas).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:
SeekPartitions()
method to seek multiple partitions atonce and deprecated
Seek()
(#940).add offset leader epoch to the TopicPartition
and Message structs (#968).
(#973).
panic when they are used after close (#901).
correctly (#950).
Offset.Set()
(#962, @jdockerty).confluent-kafka-go is based on librdkafka v2.1.0, see the
librdkafka v2.1.0 release notes
for a complete list of changes, enhancements, fixes and upgrade considerations.
v2.0.2
Compare Source
This is a feature release:
AdminClient) allows modifying the stored SASL PLAIN/SCRAM credentials that
will be used for subsequent (new) connections to a broker.
ProduceChannel()
) and channel basedconsumer (Consumer
Events()
) are deprecated.IsTimeout()
on Error type. This is a convenience method that checksif the error is due to a timeout.
Seek()
is now ignored and an infinite timeout isused, the method will block until the fetcher state is updated (typically
within microseconds).
Add Consumer Group operations to Admin API.
Allow listing consumer groups per state.
Partially implemented: support for AlterConsumerGroupOffsets.
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 supports1 group with multiple partitions. Supports the
requireStable
option.AlterConsumerGroupOffsets
Admin operation. Currently, only supports1 group with multiple offsets.
SetRoundtripDuration
to the mock broker for setting RTT delay fora given mock broker (@kkoehler, #892).
Fixes
SpecificDeserializer.Deserialize
method was not returning its resultresult correctly, and was hence unusable. The return has been fixed (#849).
SerializerConfig
,was ignored. It is now used as expected (@perdue, #870).
panic. This was due to a
nil
pointer, fixed with proper initialization(@HansK-p, @ju-popov, #878).
Upgrade considerations
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.
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.
This PR was generated by Mend Renovate. View the repository job log.