- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 215
Comparing changes
Open a pull request
base repository: twmb/franz-go
base: v1.15.0
head repository: twmb/franz-go
compare: v1.15.1
Commits on Sep 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b713611 - Browse repository at this point
Copy the full SHA b713611View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfe638e - Browse repository at this point
Copy the full SHA bfe638eView commit details -
pkg/sr: use ptr type for SchemaMetadata and SchemaRuleSet (#577)
* pkg/sr: use ptr type for SchemaMetadata and SchemaRuleSet
Configuration menu - View commit details
-
Copy full SHA for c9d2351 - Browse repository at this point
Copy the full SHA c9d2351View commit details
Commits on Sep 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4039539 - Browse repository at this point
Copy the full SHA 4039539View commit details -
Merge pull request #583 from twmb/sr-omitempty
sr: make SetCompatibility fields optional
Configuration menu - View commit details
-
Copy full SHA for 4449480 - Browse repository at this point
Copy the full SHA 4449480View commit details -
kadm: populate GroupMemberLag.{Topic,Partition} always
This was missing in one spot.
Configuration menu - View commit details
-
Copy full SHA for 1c2ccf9 - Browse repository at this point
Copy the full SHA 1c2ccf9View commit details -
Merge pull request #584 from twmb/kadm_lag_patch
kadm: populate GroupMemberLag.{Topic,Partition} always
Configuration menu - View commit details
-
Copy full SHA for 9569753 - Browse repository at this point
Copy the full SHA 9569753View commit details
Commits on Oct 11, 2023
-
build(deps): bump golang.org/x/net in /examples/bench/compare/segment
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.17.0. - [Commits](golang/net@v0.10.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 57d5636 - Browse repository at this point
Copy the full SHA 57d5636View commit details -
build(deps): bump golang.org/x/net in /examples/bench/compare/sarama
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.13.0 to 0.17.0. - [Commits](golang/net@v0.13.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 5452514 - Browse repository at this point
Copy the full SHA 5452514View commit details -
build(deps): bump golang.org/x/net in /pkg/sasl/kerberos
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.13.0 to 0.17.0. - [Commits](golang/net@v0.13.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 2d7e919 - Browse repository at this point
Copy the full SHA 2d7e919View commit details
Commits on Oct 12, 2023
-
Merge pull request #595 from twmb/dependabot/go_modules/pkg/sasl/kerb…
…eros/golang.org/x/net-0.17.0 build(deps): bump golang.org/x/net from 0.13.0 to 0.17.0 in /pkg/sasl/kerberos
Configuration menu - View commit details
-
Copy full SHA for f2c4281 - Browse repository at this point
Copy the full SHA f2c4281View commit details -
Merge pull request #594 from twmb/dependabot/go_modules/examples/benc…
…h/compare/sarama/golang.org/x/net-0.17.0 build(deps): bump golang.org/x/net from 0.13.0 to 0.17.0 in /examples/bench/compare/sarama
Configuration menu - View commit details
-
Copy full SHA for 0249a71 - Browse repository at this point
Copy the full SHA 0249a71View commit details -
Merge pull request #593 from twmb/dependabot/go_modules/examples/benc…
…h/compare/segment/golang.org/x/net-0.17.0 build(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 in /examples/bench/compare/segment
Configuration menu - View commit details
-
Copy full SHA for 98f38a7 - Browse repository at this point
Copy the full SHA 98f38a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66974e8 - Browse repository at this point
Copy the full SHA 66974e8View commit details -
Merge pull request #592 from r-vasquez/add-error-message
kadm: include ErrorMessage in topic response
Configuration menu - View commit details
-
Copy full SHA for ae169a1 - Browse repository at this point
Copy the full SHA ae169a1View commit details
Commits on Oct 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 11b0f91 - Browse repository at this point
Copy the full SHA 11b0f91View commit details
Commits on Oct 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d520096 - Browse repository at this point
Copy the full SHA d520096View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cfb6a5 - Browse repository at this point
Copy the full SHA 5cfb6a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e83e62 - Browse repository at this point
Copy the full SHA 7e83e62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a961da - Browse repository at this point
Copy the full SHA 6a961daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3273585 - Browse repository at this point
Copy the full SHA 3273585View commit details -
sticky balancer: try for better topic distribution among members
The sticky balancer currently strives for ultimate stickiness, with no regard to trying to balance topic partitions among members equally. When adding a member, it is often the case that an entire topic's partitions shifts to the other member, while the first member has the other topic. By sorting by partition number before balancing, when the algorithm steals partitions from the end of an existing member to give to the new member, we ensure that we divvy up the topics equally to both members while still ensuring stickiness. This is likely not perfect but it goes a long way.
Configuration menu - View commit details
-
Copy full SHA for 1429d47 - Browse repository at this point
Copy the full SHA 1429d47View commit details -
kgo: do not rotate the consumer session when pausing topics/partitions
Issue #489 asked to stop returning data after a partition was paused -- the original implementation of pausing kept returning any data that was in flight or already buffered, and simply stopped fetching new data. 489 was dealt with by bumping the consumer session, which kills all in flight fetch requests. This was easy, but can cause a lot of connection churn if pausing and resuming a lot -- which is #585. The new implementation allows fetches to complete, but strips data from fetches based on what is paused at the moment the fetches are being returned to the client. This does make polling paused fetches very slightly slower (a map lookup per partition), but there's only so much that's possible. If a partition is paused, we drop the data and do not advance the internal offset. If a partition is not paused, we keep the data and return it -- same as before.
Configuration menu - View commit details
-
Copy full SHA for 0ecb52b - Browse repository at this point
Copy the full SHA 0ecb52bView commit details -
Scenario is: * Metadata update is actively running and has stopped an active session, returning all topicPartitions that were actively in list/epoch. These list/epoch loads are stored in reloadOffsets. Metadata grabs the session change mutex. * Client.Close is now called, stores client.consumer.kill(true). The Close is blocked briefly because Close calls assignPartitions which tries to lock to stop the session. Close is now paused -- however, importantly, the consumer.kill atomic is set to true. * Metadata tries to start a new session. startNewSession returns noConsumerSession because consumer.kill is now true. * Metadata calls reloadOffsets.loadWithSession, which panics once the session tries to access the client variable c. This panic can only happen if all of the following are true: * Client.Close is being called * Metadata is updating * Metadata response is moving a partition from one broker to another * The timing is perfect The fix to this is to check in listOrEpoch if the consumerSession is noConsumerSession. If so, return early. Note that doOnMetadataUpdate, incWorker, and decWorker already checked noConsumerSession. The other methods do not need to check: * mapLoadsToBrokers is called in listOrEpochs on a valid session * handleListOrEpochResults is the same * desireFetch is only called in source after noConsumerSession is checked, and manageFetchConcurrency is called only in desireFetch Closes redpanda-data/redpanda#13791.
Configuration menu - View commit details
-
Copy full SHA for c013050 - Browse repository at this point
Copy the full SHA c013050View commit details -
kadm: do not reuse ApiVersions in many concurrent requests
The client calls SetVersion internally per request, so doing this concurrently leads to races.
Configuration menu - View commit details
-
Copy full SHA for 1955938 - Browse repository at this point
Copy the full SHA 1955938View commit details -
kgo group: switch memberID and generation to atomics
Previously these required a mutex on write and read because of the rare (and mostly erroneous) chance that a person is committing during a rebalance. Well, that makes the next transactional commit harder and is overkill -- switching to atomics doesn't change any correctness bit but allows us to worry about deadlocks just a bit less.
Configuration menu - View commit details
-
Copy full SHA for 39e28c0 - Browse repository at this point
Copy the full SHA 39e28c0View commit details -
kgo: allow PreTxnCommitFnContext to modify empty offsets
This builds the TxnOffsetCommitRequest early so that the hook can modify it. If the modified request has no topics to commit, then we abort as though uncommitted was empty.
Configuration menu - View commit details
-
Copy full SHA for 54a7418 - Browse repository at this point
Copy the full SHA 54a7418View commit details
Commits on Oct 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b2ccc2f - Browse repository at this point
Copy the full SHA b2ccc2fView commit details -
kgo: add sharding for AddPartitionsToTxn for KIP-890
This is more of a forward looking commit, in that kadm will eventually introduce support for this. We now basically handle v4 properly, even though KIP-890 dictates that v4 isn't meant to be sent by clients, it is indeed still necessary and not sending it results in INVALID_TXN_STATE errors. Also properly adds the WriteTxnMarkers sharder to the switch, though nothing really should send that request so that doesn't really fix any bugs. Kafka 3.6 has an NPE handling produce requests frequently, see KAFKA-15653, so tests may fail against 3.6 occasionally.
Configuration menu - View commit details
-
Copy full SHA for fe5a660 - Browse repository at this point
Copy the full SHA fe5a660View commit details -
This does not yet add V3_6_0 since that will require a minor.
Configuration menu - View commit details
-
Copy full SHA for 2a3b6bd - Browse repository at this point
Copy the full SHA 2a3b6bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for a905bf0 - Browse repository at this point
Copy the full SHA a905bf0View commit details -
Merge pull request #601 from twmb/589
kgo: do not rotate the consumer session when pausing topics/partitions
Configuration menu - View commit details
-
Copy full SHA for 3d115f1 - Browse repository at this point
Copy the full SHA 3d115f1View commit details -
Merge pull request #602 from twmb/sticky-move
sticky balancer: try for better topic distribution among members
Configuration menu - View commit details
-
Copy full SHA for e94230f - Browse repository at this point
Copy the full SHA e94230fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 067ec8e - Browse repository at this point
Copy the full SHA 067ec8eView commit details -
Merge pull request #604 from twmb/597
kadm: do not reuse ApiVersions in many concurrent requests
Configuration menu - View commit details
-
Copy full SHA for d156322 - Browse repository at this point
Copy the full SHA d156322View commit details -
Merge pull request #605 from twmb/580
kgo: allow PreTxnCommitFnContext to modify empty offsets
Configuration menu - View commit details
-
Copy full SHA for ec02fac - Browse repository at this point
Copy the full SHA ec02facView commit details -
Merge pull request #606 from twmb/579
kgo: reintroduce random broker iteration
Configuration menu - View commit details
-
Copy full SHA for 913b4b0 - Browse repository at this point
Copy the full SHA 913b4b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for fff4001 - Browse repository at this point
Copy the full SHA fff4001View commit details -
Merge pull request #607 from twmb/v1.15.1-changelog
CHANGELOG: note v1.15.1
Configuration menu - View commit details
-
Copy full SHA for 019f134 - Browse repository at this point
Copy the full SHA 019f134View commit details
There are no files selected for viewing