Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aklivity/zilla
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.4.6
Choose a base ref
...
head repository: aklivity/zilla
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.4.7
Choose a head ref
  • 6 commits
  • 226 files changed
  • 4 contributors

Commits on Sep 26, 2026

  1. Configuration menu
    Copy the full SHA
    f7f46eb View commit details
    Browse the repository at this point in the history
  2. Merge tag '2.4.6' into develop

    2.4.6 2.4.6
    github-actions[bot] committed Sep 26, 2026
    Configuration menu
    Copy the full SHA
    befc56f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b8f2200 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2026

  1. fix(binding-kafka): recover produce and fetch when a broker connect…

    …ion is lost (#2621)
    
    * fix(binding-kafka): refresh metadata when a broker connection is lost
    
    When a produce or fetch connection to a broker ends, aborts or resets,
    the client streams cleaned up without refreshing metadata. Cached
    partition leaders kept pointing at the departed broker until the next
    scheduled metadata refresh, so reconnects targeted the same broker.
    
    Trigger an immediate metadata refresh from the network end, abort and
    reset handlers of the client produce and fetch streams, reusing the
    existing metaFlush hook used for retriable error codes.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    (cherry picked from commit 4c5034c)
    
    * fix(binding-kafka): retry produce when a broker connection is lost
    
    When a produce connection to a broker aborted or reset, the client
    produce stream reset the application stream without an error code.
    The cache treated this as a non-retriable unknown error and failed the
    pending records, instead of reconnecting and resending them as it does
    for other retriable errors.
    
    Report NETWORK_EXCEPTION on network abort or reset in the client
    produce stream, and handle it in the cache server produce fanout the
    same way as NOT_LEADER_FOR_PARTITION, so the cache client reconnects
    and resends the pending records.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    (cherry picked from commit 350522a)
    
    * fix(binding-kafka): account for record key and headers in produce encode buffer
    
    The produce client credits the application window per record as value
    size plus a fixed framing padding, but a record's key and headers are
    encoded into the same buffer slot. When key and headers exceed the
    padding and records accumulate while a produce request is in flight,
    the encoded records overrun the encode slot.
    
    - raise the advertised window padding once a record's framing (batch,
      record header, key and headers) exceeds the configured framing size
    - size the pre-encode capacity check from the current record instead
      of the previous record's value size
    - reset the stream rather than write past the encode slot when a
      record cannot fit
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    (cherry picked from commit 83f8ac1)
    
    * fix(binding-kafka): only acknowledge produced cache entries after delivery
    
    The cache server acknowledged every entry up to the latest offset
    signaled by the cache client whenever the produce client stream was
    fully acknowledged, including entries not yet sent or still in flight.
    If the in-flight produce request then failed with a retriable error,
    those entries were already marked complete, so they were skipped on
    reconnect and never produced, while the producer had already been
    told they succeeded.
    
    Acknowledge success only up to the last entry delivered by the cursor,
    and defer the acknowledgement when skipping a completed entry until
    all in-flight data has been acknowledged.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    (cherry picked from commit 83c24bb)
    
    * fix(binding-kafka): reset produce leader for any known reconnect error
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    (cherry picked from commit 2d84d28)
    
    * fix(binding-kafka): use client.yaml for ported produce ITs
    
    Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01BHiEhWWo5S4veNzeZBcndj
    
    * fix(binding-kafka): only acknowledge produced cache entries once delivered and acknowledged
    
    The cache server flushed a success acknowledgement to its members with
    the offset last signaled by the cache client. When the broker
    acknowledged a batch while later entries were delivered but still in
    flight, or appended but not yet delivered, those entries were also
    marked complete. If the in-flight request then failed with a retriable
    error, they were skipped on reconnect and never produced, while the
    producer had already been told they succeeded.
    
    Withhold the success flush while delivered data is unacknowledged and
    clamp the flushed offset to the last entry delivered by the cursor.
    This supersedes the deferral at the dirty entry skip, which is
    restored to an unconditional flush.
    
    Add a spec where the broker acknowledges the first record while the
    second is in flight and the connection then fails, asserting the second
    record is resent after reconnect.
    
    Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
    Claude-Session: https://claude.ai/code/session_01BHiEhWWo5S4veNzeZBcndj
    
    ---------
    
    Co-authored-by: Ankit Kumar <[email protected]>
    Co-authored-by: Claude Opus 5.5 <[email protected]>
    3 people authored Sep 30, 2026
    Configuration menu
    Copy the full SHA
    502faff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a1374fd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a4e0106 View commit details
    Browse the repository at this point in the history
Loading