)]}'
{
  "log": [
    {
      "commit": "03f2e30822f7895d33c13213a39c8268eee14d7c",
      "tree": "15e7023bcec84f1e391b4cefb529103c988e97c1",
      "parents": [
        "384179cc25ad4c995cf4aaea45e364022fa23de0"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Tue Nov 24 16:51:49 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 16:51:49 2026 -0800"
      },
      "message": "M7: PLAN.md records the checks as done, and the bug they found (#57)\n\nM7\u0027s section now says where its checks stand: what the conformance suite and\nchecklist (tests/conformance/README.md) hold, tests/PORTING.md\u0027s counts, why\nthe tests in scope that it doesn\u0027t cover have no counterpart, and the one bug\nthe checks found. Once the controller moves to another broker, a Stream\nconsumer whose client holds the topic\u0027s layout watch for something else too\nregisters again with the old controller (C7\u0027s known gap), which an ignored test\npins until it is fixed. Only documentation changes."
    },
    {
      "commit": "384179cc25ad4c995cf4aaea45e364022fa23de0",
      "tree": "e2aa9aaffe4ed6b978b3b0729c594d8e80a46cf4",
      "parents": [
        "872315477e85c2829d51bcd794df5e8cf6f8485d"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Tue Nov 24 16:05:04 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 16:05:04 2026 -0800"
      },
      "message": "Retry posting the coverage status when GitHub\u0027s API fails the request (#56)\n\nOn #55, the Coverage job\u0027s \"Post the totals as a commit status\" step failed\nwith `unexpected end of JSON input`, though GitHub had created the status.\nThe job failed, and the gate steps after it were skipped, until the job was\nrerun.\n\nThe step now tries the post three times, 10 seconds apart, before it fails\nthe job. Posting the status again is harmless: GitHub shows a context\u0027s\nnewest status, and the gate reads the newest too."
    },
    {
      "commit": "872315477e85c2829d51bcd794df5e8cf6f8485d",
      "tree": "e2ce9d2e068babcb773cb83547c9c66a9a90a928",
      "parents": [
        "aad8bd78860297a8682dbff1c46570465af12b43"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Tue Nov 24 14:01:58 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 14:01:58 2026 -0800"
      },
      "message": "M7: tests/PORTING.md, the Java V5 tests and their counterparts here (#55)\n\nEach Java test class that uses the V5 API at apache/pulsar a0e7f7de62, 150\nclasses and 694 tests, with the tests here that cover its scenarios, and why the\nrest have none (docs/8-quality.md §2.1, which now links it): 303 tests covered,\n2 partly and 10 not ported, each with its reason; 104 Java-only, 80 the\nbroker\u0027s, 18 needing several brokers and 177 out of scope. The conformance\nchecklist cites the consumers\u0027 C15 tests and the Checkpoint consumer closed\ntwice (C14), and names the stale controller as a known gap under C7, with a\npointer from C14. Only documentation changes."
    },
    {
      "commit": "aad8bd78860297a8682dbff1c46570465af12b43",
      "tree": "627febdecf2913a7cfa433e07f65e32cdd501925",
      "parents": [
        "71413a7c136eadd1140a25016928c16a0c2837be"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Tue Nov 24 10:15:44 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 10:15:44 2026 -0800"
      },
      "message": "M7, ports part 5: the integration tests against 5.0.1 (#54)\n\nJava V5\u0027s tests ported to the integration suite, against 5.0.1 (PLAN.md, M7;\ntests/PORTING.md follows in its own PR): keys keeping their order across a\nrebucket, and the controller rebucketing a segment for more Stream consumers than\nbuckets (Env::rebucket posts to the admin endpoint, which pulsar-admin 5.0.1 has no\ncommand for); a Stream consumer\u0027s subscribe refused for its credentials; a missing\ntopic not found for each kind of consumer; a Stream consumer creating a missing\ntopic; delayed delivery; two Stream consumers splitting four segments; and a\nmigrated topic reached by its topic:// name. The conformance checklist cites the\nsplit and the rebuckets under C7, and the missing-topic tests under C12. Only test\ncode changes."
    },
    {
      "commit": "71413a7c136eadd1140a25016928c16a0c2837be",
      "tree": "95825d9a9171e10e36bb323de55cec7e41a7be01",
      "parents": [
        "6b5e8da32b5ac49735efbdd78712209c5fa2b9ef"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Tue Nov 24 08:50:01 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 08:50:01 2026 -0800"
      },
      "message": "M7: the failover cases wait for the producer on both segments (#52)\n\nconformance::failover_by_unload failed once locally, on a host busy with other builds: the\ntopic\u0027s stats listed no producer within 30 s, the failover thread panicked before the unload,\nand the clients carried on for five more minutes before the case failed with \"the failover did\nnot complete\". Both failover cases now wait until a send to each segment has completed (up to\n120 s), and the unload until the stats list the producer on both segments (up to 60 s). A wait\nthat runs out stops the clients and fails the case at once, saying what was missing."
    },
    {
      "commit": "6b5e8da32b5ac49735efbdd78712209c5fa2b9ef",
      "tree": "33ff66e3f2593572499e8c28d4faaf5392b5fdfc",
      "parents": [
        "725ef2a317855a5022891f8dc1b801e15f5f3f3e"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Mon Nov 23 18:48:22 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 18:48:22 2026 -0800"
      },
      "message": "pulsar-perf reports throughput and latency every 10 seconds, as Java\u0027s does (#53)\n\n`pulsar-perf produce` and `pulsar-perf consume` print a line every 10 seconds, in Java\u0027s format: the messages so far,\nthe msg/s and Mbit/s since the last report, and the latency percentiles of an HdrHistogram of that interval, reset\nafter each report. The producer\u0027s latency is the send\u0027s, past the warm-up; the consumer\u0027s runs from the publish time,\nin whole milliseconds. The reports come from a thread of their own, as Java\u0027s main thread prints them: a timer on the\nruntime cost the consume loop about 6% of its throughput.\n\nAll output now goes through `tracing`, at INFO unless `RUST_LOG` says otherwise, with the client\u0027s own logs."
    },
    {
      "commit": "725ef2a317855a5022891f8dc1b801e15f5f3f3e",
      "tree": "348fae06bfbffabc75db641c5d1dd6961655e7c6",
      "parents": [
        "eec9645f819c0bd891cc9b025a0ea20acb726d57"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Mon Nov 23 15:38:08 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 15:38:08 2026 -0800"
      },
      "message": "M7, ports part 4: the Queue and Checkpoint consumers (#51)\n\nJava V5\u0027s tests of the Queue and Checkpoint consumers that had no Rust counterpart, ported\n(PLAN.md, M7; tests/PORTING.md follows in its own PR): Checkpoint consumers from the earliest\nposition each reading every message, group members outnumbering the segments delivering each\nmessage once, waiting receives answered in the order they were polled, taking half the\nreceiver queue granting as many permits again, a refused lookup, a missing topic not found, a\nbroker without scalable topics refused, and a Checkpoint consumer closed twice. Only test code\nchanges."
    },
    {
      "commit": "eec9645f819c0bd891cc9b025a0ea20acb726d57",
      "tree": "f8d59fd456abe4ea121b82fb12ae2addc2b5570a",
      "parents": [
        "dacb3d752e8e35e783ebe9912240859edc00ed52"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Mon Nov 23 15:37:55 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 15:37:55 2026 -0800"
      },
      "message": "M7, ports part 3: the Stream consumer (#50)\n\nJava V5\u0027s tests of the Stream consumer that had no Rust counterpart, ported (PLAN.md, M7;\ntests/PORTING.md follows in its own PR): a cumulative ack made while disconnected going first\non the next subscription, members splitting the segments, a member back under its name taking\nthe same keys again, keys keeping their order across an empty segment and as a member joins\nmid-traffic, a segment moving once what was taken from it is acknowledged, a member joining\nafter another left, a consumer at latest, a missing topic created or not found, a refused\nlookup, a broker without scalable topics, and following the controller the layout names\nacross brokers. Only test code changes.\n\nfollows_the_controller_while_a_producer_holds_the_layout_watch is the same controller\nfailover with a producer of the topic on the client. It fails, so it is ignored with the\nreason: registering again takes the controller from the layout watch the producer holds,\nwhich names the old one. A fix follows in its own PR."
    },
    {
      "commit": "dacb3d752e8e35e783ebe9912240859edc00ed52",
      "tree": "3f99551b9f7e1ccc22aa286accdeb6479bc9375e",
      "parents": [
        "70c2f290e3ebd12cc3137f044975272e0d399126"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Mon Nov 23 15:37:39 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 15:37:39 2026 -0800"
      },
      "message": "M7, ports part 2: the producer, routing and message ids (#49)\n\nJava V5\u0027s tests of the producer, routing and message ids that had no Rust counterpart, ported\n(PLAN.md, M7; tests/PORTING.md follows in its own PR): an exclusive create refused for\nauthorization, a refused lookup, a producer created after a split sending to the children,\ndropped sends keeping their room in the memory limit until they complete, sends waiting for\nroom going through a split, concurrent producers and consumers getting every message once,\nmessages moved to a child that splits again reaching the grandchild in order, the client\u0027s\nclose waiting for a producer already closing, a legacy segment beside a managed one routing by\nhash range, the controller\u0027s URL for plain and TLS connections, and ids hashing and ordering\nas they compare. Only test code changes."
    },
    {
      "commit": "70c2f290e3ebd12cc3137f044975272e0d399126",
      "tree": "ab93d33f3142ce6ae17fcbc772ad733886c47c52",
      "parents": [
        "d38dc55d9af29fb01a193b79161ab85b077cfc8a"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Mon Nov 23 15:36:53 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 15:36:53 2026 -0800"
      },
      "message": "M7, ports part 1: connections, authentication and client options (#48)\n\nJava V5\u0027s tests of connections, authentication and the client\u0027s options that had no Rust\ncounterpart, ported (PLAN.md, M7; tests/PORTING.md follows in its own PR): a refreshed\ncredential sent without reconnecting, a stale challenge round ignored, a refresh starting the\nchallenge rounds over, a socket closed while the credential is fetched, fresh auth data only\nfor a refresh, the provider released when the client closes, a provider that failed asked\nagain for the next connection, and the builder refusing an https:// service URL and\nincomplete options. Only test code changes."
    },
    {
      "commit": "d38dc55d9af29fb01a193b79161ab85b077cfc8a",
      "tree": "20df065ca57c22d20910379201882fbdcb363e7d",
      "parents": [
        "baa4a139b4549726c70954e4649226f7ae712530"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Mon Nov 23 15:17:51 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 15:17:51 2026 -0800"
      },
      "message": "M7: the conformance suite, and the C1–C15 checklist (#45)\n\nThe spec\u0027s test guidance (conformance §5) as a named suite, as docs/8-quality.md §2.2 plans\nit: routing vectors, a split or merge during active produce and consume, a broker failover,\ncumulative ack across segments, and checkpoint round trips across a layout change.\ntests/conformance/README.md describes each case for any SDK, and lists, for each of C1–C15,\nthe tests that show this client meets it.\n\nThe cases against a 5.0.1 broker are integration trials named conformance::\u003cid\u003e. Four\nexisting tests moved into the suite\u0027s table rather than being written again; the vector\ncases are the protocol crate\u0027s tests. New cases: the same key to the same segment from Rust\u0027s\nand Java\u0027s producers on a layout of uneven ranges (RoutingTool.java); a split and a merge\nunder load, with a Queue and a Stream consumer reading; a failover by namespace unload and\none by killing and restarting the broker, with a producer and the three consumers active; a\nStream consumer\u0027s cumulative ack settling what came before it on every segment, a sealed one\nincluded, and nothing after.\n\nThe broker restart runs once the other trials are done, one at a time, in a second\nlibtest-mimic run: Env::restart_broker kills the broker container and starts it again."
    },
    {
      "commit": "baa4a139b4549726c70954e4649226f7ae712530",
      "tree": "a2795554ed5a04ee444fe0f9324e6335f86f43ea",
      "parents": [
        "311aaa73b0a681d49a75df02d06a68af893e60f5"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Mon Nov 23 15:14:41 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 15:14:41 2026 -0800"
      },
      "message": "M7 audit, part 2: examples (#44)\n\nThe second part of M7\u0027s audit: examples, one for each part of the\nAPI, in crates/apache-pulsar/examples. Each runs against a broker on\nthis machine, or the one PULSAR_URL names.\n\n- producer: keyed messages with properties, a flush and a close, on\n  the default API from a Tokio runtime.\n- queue_consumer: a Shared subscription on every segment, each message\n  acknowledged, one negatively and delivered again.\n- stream_consumer: the segments the controller assigns, and cumulative\n  acknowledgments.\n- checkpoint_consumer: a checkpoint kept in a file, and a second run\n  that reads on from it.\n- local: a client per thread, each on its own compio event loop.\n- blocking: the blocking API, without an async runtime.\n- schemas: JSON, Avro and key/value schemas for a struct, and generic\n  records; it takes the json and avro features.\n- authentication: TLS with a trusted CA, and a token, a token file or\n  a client certificate.\n- pipelining: many sends in flight, in order, with buffered,\n  FuturesOrdered and join_all, the patterns send\u0027s rustdoc recommends.\n\nDev-dependencies: tokio and futures, both in the lock already through\ntestcontainers. CI\u0027s clippy --all-targets and cargo test build the\nexamples; cargo-llvm-cov leaves them out of the coverage report. The\nREADME lists them, with the command for a standalone broker."
    },
    {
      "commit": "311aaa73b0a681d49a75df02d06a68af893e60f5",
      "tree": "cbdfd149b6d78bd2625c5a8feec42c2dda9d7a6d",
      "parents": [
        "32cfb65da1e6b02eac9cc9bb26e711101b425d0b"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Mon Nov 23 15:13:43 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 15:13:43 2026 -0800"
      },
      "message": "M7 audit, part 1: the error model (#38)\n\n* M7 audit, part 1: the error model\n\nThe first part of M7\u0027s audit (docs/7-api.md §6): the kinds that reach\nthe application follow the spec\u0027s categories (error-model §2-§3) and\nJava V5\u0027s mapping, and the docs say what each operation fails with.\n\nKinds:\n- A broker\u0027s ConsumerAssignError is ConsumerBusy, InvalidTxnStatus and\n  TransactionNotFound are TransactionConflict, as Java V5 maps them;\n  InvalidTopicName is InvalidConfiguration. They were Other.\n- A broker that refuses the handshake when a producer or a consumer\n  registers on a segment, as for credentials it rejects, fails the\n  registration with its refusal, as a lookup does. It counted as no\n  broker to ask: retried until the operation timeout, then Timeout.\n- An authentication provider\u0027s failure is Authentication, with the\n  provider\u0027s error as its source, as in Java V5. It kept the\n  provider\u0027s own kind, retried or not by it.\n- A controller URL from the broker that doesn\u0027t parse is a malformed\n  answer, not the application\u0027s InvalidServiceUrl.\n\nDurations: Duration::MAX, or any duration too long for a deadline,\npanicked in receive_timeout, receive_batch, the send timeout, the\nbatching delay, the ack group time and the keepalive interval, and\nhung create() for the operation and connect timeouts. Durations are\ncapped at a year, which macOS\u0027s event loop takes (it refuses a wait of\n68 years or more). deliver_after saturates at the latest time its\nfield holds.\n\nDocs: each ErrorKind says what it means and whether the client\nretries it; every fallible operation of the producer, the consumers,\nthe clients and the decoders lists the kinds it fails with;\ndocs/7-api.md §6 lists Other, the mapping and the retry rule.\n\n* Two more panics on bad input: a huge loop count, the largest sequence id\n\n- event_loops(usize::MAX) panicked as the thread-safe client reserved\n  room for every loop up front (capacity overflow). The loops are\n  grown one by one: a count too large to start fails as the threads\n  run out, with Other.\n- initial_sequence_id(i64::MAX) overflowed computing the next id, a\n  panic in a debug build. The next id is a u64, as on the wire, after\n  the initial one or the broker\u0027s last.\n\n* A registered producer retries refused credentials, as a lost connection\n\nWith the first commit, credentials the broker refuses, or a provider\ncan\u0027t supply, fail a segment\u0027s registration at once. For a producer\nalready registered on the segment, registering again after a lost\nconnection, that failed every message queued there: one failed token\nfetch lost them, where a retry may find fresh credentials. Such a\nproducer now retries them as it retries the connection, its messages\nbounded by the send timeout; a first registration still fails with\nthem, as a lookup does. Running consumers already subscribe a segment\nagain after a backoff."
    },
    {
      "commit": "32cfb65da1e6b02eac9cc9bb26e711101b425d0b",
      "tree": "2ffe3b265a2fa88e30c64b204acc3d0208d18501",
      "parents": [
        "52930169bc6e37bb008e91b397169e9f37a9130c"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Mon Nov 23 15:07:53 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 15:07:53 2026 -0800"
      },
      "message": "M7, release part 6: the release notes on GitHub releases (#47)\n\nThe release notes live on GitHub releases, not in a CHANGELOG.md, which main doesn\u0027t have. In RELEASE.md, step 1 checks the README\u0027s Conformance section; the vote links it at the candidate\u0027s tag, and the changes since the previous release\u0027s tag; step 8 says what the GitHub release\u0027s notes hold; step 9 only moves the version on. The crate\u0027s README links the GitHub releases."
    },
    {
      "commit": "52930169bc6e37bb008e91b397169e9f37a9130c",
      "tree": "19c7d3a2167ff793588ab8833f88772cf3807254",
      "parents": [
        "da85763978c52fac0d729783f83230068ad4f319"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Mon Nov 23 15:07:31 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 15:07:31 2026 -0800"
      },
      "message": "M7, release part 5: build on Windows in CI (#43)\n\nA windows job builds the workspace on windows-latest, as docs/8-quality.md section 4 plans. The tests don\u0027t build there yet: testcontainers\u0027 watchdog uses Unix signals."
    },
    {
      "commit": "da85763978c52fac0d729783f83230068ad4f319",
      "tree": "2495540d32229885673e6cddf763c50d5f2ae367",
      "parents": [
        "f6e1f730c06822c94de284f755dfbdd1844ecf6d"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Mon Nov 23 15:05:52 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 15:05:52 2026 -0800"
      },
      "message": "M7, release part 4: the release statement (#42)\n\n* M7, release part 4: the release statement, and draft 0.1.0 notes\n\nCHANGELOG.md states, for each release, the version of the Scalable Topics client specification it conforms to and the optional capabilities it implements, with a draft section for 0.1.0. The README states it for the code on main, and its status line moves on from milestones 3 to 5. DESIGN.md records gap 31: the spec groups chunking, compression and custom batching as one capability.\n\n* Release notes on GitHub releases, not in CHANGELOG.md\n\nThe release notes live on GitHub releases, so CHANGELOG.md goes. The README\u0027s Conformance section, docs/8-quality.md section 3 and DESIGN.md gap 31 point to the releases. The draft notes for 0.1.0 move to the pull request\u0027s description."
    },
    {
      "commit": "f6e1f730c06822c94de284f755dfbdd1844ecf6d",
      "tree": "fa5bf1e64d8c384f8cc07acbb8205630d856e65b",
      "parents": [
        "aa1833c0117a5664f7ece220cd943dc48a7e6975"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Mon Nov 23 11:54:07 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 11:54:07 2026 -0800"
      },
      "message": "Build pulsar-perf with a plain cargo build --release (#46)"
    },
    {
      "commit": "aa1833c0117a5664f7ece220cd943dc48a7e6975",
      "tree": "bd054f4e5d88d552207c268dc422eee471aba710",
      "parents": [
        "b02d9606f74e2d4e65edb506e7638b0f3ceceb8b"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Mon Nov 23 10:50:08 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 10:50:08 2026 -0800"
      },
      "message": "M7, release part 3: the release process, and the scripts for the source release (#41)\n\nRELEASE.md follows the other Pulsar clients and the ASF release policy: a signed source release from a candidate tag, staged on dist.apache.org, voted on dev@, then the crates published to crates.io from the released source, apache-pulsar-protocol first. build-support/generate-source-archive.sh and sign-files.sh build and sign the tarball. CI also runs on release branches."
    },
    {
      "commit": "b02d9606f74e2d4e65edb506e7638b0f3ceceb8b",
      "tree": "f133c5437e57c5356f21aa9c213a0217a6a93fac",
      "parents": [
        "b8a8f34741bae288984cbde81829d9281b1032b6"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Mon Nov 23 10:48:32 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 10:48:32 2026 -0800"
      },
      "message": "M7, release part 2: the crates ready for crates.io (#40)\n\napache-pulsar and apache-pulsar-protocol get crates.io\u0027s metadata (readme, keywords, categories, rust-version), a README each, and LICENSE and NOTICE in their packages, as symlinks to the top-level files. The packages leave out tests/ and benches/. The minimum supported Rust version is 1.95, what compio needs.\n\nCI checks both crates with that version, and packages and verifies them from a source archive of the commit, as the release manager publishes them."
    },
    {
      "commit": "b8a8f34741bae288984cbde81829d9281b1032b6",
      "tree": "61ddaa57f1354ccdb59d0c708c070eaa97bb976c",
      "parents": [
        "fc64aa27ce65f568cc819097eda86ce487fd7a89"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Mon Nov 23 10:47:28 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 10:47:28 2026 -0800"
      },
      "message": "M7, release part 1: Apache RAT checks the ASF license headers in CI (#39)\n\nA license job runs Apache RAT 0.16.1 through jbang, as Pulsar\u0027s Helm chart runs RAT, with .rat-excludes listing the files without a header: .gitignore, Cargo.lock, the JSON test vectors and build output. RAT 0.17 and later type Rust sources and shell scripts as binaries and skip them, and RAT exits 0 whatever it finds, so the job checks its summary for no unknown licenses.\n\nThe docs, PLAN.md, DESIGN.md, the compio checks\u0027 README and the vendored proto\u0027s SOURCE note get the ASF header. LICENSE and NOTICE stay as they are: the proto is ASF code, and nothing third-party is in the repository."
    },
    {
      "commit": "fc64aa27ce65f568cc819097eda86ce487fd7a89",
      "tree": "a857d52039d0fee33fa9f1176e4d73834940127c",
      "parents": [
        "d331b71a183d373734b49f676742803fdb63578a"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Mon Nov 23 09:59:51 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 09:59:51 2026 -0800"
      },
      "message": "Mark J14 and J16 with their apache/pulsar PRs (#37)\n\nThe two broker fixes that lose data went upstream first. J16, the garbage\ncollection deleting a sealed segment that a Queue subscription hasn\u0027t\ndrained, is fixed by apache/pulsar#27687. J14, a split\u0027s or a merge\u0027s\nchildren created without their parents\u0027 Queue subscriptions, is proposed\nin apache/pulsar#27688."
    },
    {
      "commit": "d331b71a183d373734b49f676742803fdb63578a",
      "tree": "6c51bb5c6825b1458f5e15c327534e64203df724",
      "parents": [
        "d71fe936668e9a48f26da54d6d9462092738a2a1"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Mon Nov 23 08:04:43 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 23 08:04:43 2026 -0800"
      },
      "message": "M7, schemas part 6: Java V5\u0027s Protobuf type (#36)\n\nThe last of the schema pull requests (docs/7-api.md §8): Java V5\u0027s\nSchema.protobuf, type PROTOBUF, which declares Avro\u0027s description of\nthe message, for buffa\u0027s and prost\u0027s types, behind the protobuf and\nprost features. Tested on the simulated cluster and against a 5.0.1\nbroker with Java V5\u0027s Schema.protobuf.\n\nClient crate:\n- Schema::protobuf() for a buffa type and Schema::prost(descriptors)\n  for a prost type, over the engine of Protobuf\u0027s native type. Both\n  declare what Java declares for the same message: no name, Avro\u0027s\n  description of the message, and PROTOBUF_NATIVE\u0027s properties.\n- The description follows avro-protobuf 1.12.2, which Pulsar 5.0.1\n  ships, and Avro\u0027s JSON: a record for each message, in the namespace\n  of its Java class; an array for a repeated field; a union with null\n  for an optional message; Java\u0027s defaults, none for a required\n  field; each record and enum in full once, and by name after. The\n  broker compares definitions as Avro schemas, so a Rust producer\n  joins the version a Java producer registered.\n- Where Java\u0027s description fails, the constructors fail with\n  InvalidConfiguration: for a group, a bytes field\u0027s default, and a\n  float\u0027s infinity or NaN.\n- Generic records of PROTOBUF still fail to decode, as the definition\n  doesn\u0027t say how Protobuf encodes the message, and Java\u0027s own\n  autoConsume() can\u0027t subscribe to such a topic (J22).\n\nIntegration tests against Pulsar 5.0.1: Rust declares what Java\ndeclares for google.protobuf\u0027s Timestamp, Struct, Type and Duration,\nand for descriptor.proto\u0027s FileDescriptorSet, a prost type given\nJava\u0027s descriptors; Timestamps cross both ways with buffa\u0027s and\nprost\u0027s types, and Rust\u0027s producers add no version to the topic\nJava\u0027s registered; Java\u0027s autoConsume() fails to subscribe to a\nPROTOBUF topic, and Rust\u0027s generic consumer fails each value.\nSchemaTool gains V5\u0027s Schema.protobuf.\n\nDocs: docs/7-api.md §8, PLAN.md\u0027s M7, DESIGN.md\u0027s J22."
    },
    {
      "commit": "d71fe936668e9a48f26da54d6d9462092738a2a1",
      "tree": "d1af83d07b66ba9a1199d179a7fca68bacfd271b",
      "parents": [
        "6d83012d75105cb9c4730ba9a79a4ad444da1b17"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Sun Nov 22 15:37:21 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sun Nov 22 15:37:21 2026 -0800"
      },
      "message": "M7, schemas part 5: Protobuf\u0027s native type (#35)\n\nThe fifth of the schema pull requests (docs/7-api.md §8): Java\u0027s\nPROTOBUF_NATIVE, for buffa\u0027s and prost\u0027s message types, through buffa\u0027s\ndescriptors, behind the protobuf and prost features, both on by\ndefault. Tested on the simulated cluster and against a 5.0.1 broker\nwith Java\u0027s v4 Schema.PROTOBUF_NATIVE.\n\nClient crate:\n- Schema::protobuf_native() for a buffa type, which brings its\n  descriptors (buffa-build\u0027s generate_reflection), and\n  Schema::prost_native(descriptors) for a prost type, given the\n  FileDescriptorSet it was generated from and named by its prost::Name.\n  Both declare what Java declares for the same message: no name, the\n  descriptor set of the message\u0027s file and of the files it imports, in\n  base64, the message\u0027s and the file\u0027s names, and Java\u0027s properties,\n  its __PARSING_INFO__ included.\n- One engine for both, over buffa-descriptor\u0027s pool, in\n  schema/protobuf.rs. It declares only the message\u0027s file and its\n  imports, without source info, as Java does, and refuses a set that\n  lacks an import.\n- Generic records of PROTOBUF_NATIVE: GenericValue::Protobuf holds\n  buffa\u0027s dynamic message, read with the descriptors of the message\u0027s\n  version, each set read once. fields() and field(name) work as Java\n  V5\u0027s, and a field the message doesn\u0027t have reads as its default.\n- buffa-descriptor (with its reflection), base64 and prost are optional\n  dependencies, behind protobuf and prost, which takes protobuf; both\n  are on by default. prost goes without its derive.\n\nIntegration tests against Pulsar 5.0.1: Rust declares what Java\ndeclares for google.protobuf\u0027s Timestamp, Struct, Type and Duration,\nand for a prost Duration given Java\u0027s descriptor set; and Timestamps\ncross both ways with buffa\u0027s and prost\u0027s types, typed and as generic\nrecords. SchemaTool gains protobuf-native, and an info command that\nprints the schema Java declares.\n\nDocs: docs/7-api.md §8, PLAN.md\u0027s M7."
    },
    {
      "commit": "6d83012d75105cb9c4730ba9a79a4ad444da1b17",
      "tree": "fe31c8c0a05354f3b889193fb1ce700d86952807",
      "parents": [
        "d3a13780a0d1b008b09cdf2795d33df688c00b4b"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Sun Nov 22 11:18:21 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sun Nov 22 11:18:21 2026 -0800"
      },
      "message": "M7, schemas part 4: JSON and Avro (#34)\n\nThe fourth of the schema pull requests (docs/7-api.md §8): Java V5\u0027s\nSchema.json(Class) and Schema.avro(Class), through serde and\napache-avro, each a feature on by default. Tested on the simulated\ncluster and against a 5.0.1 broker with Java\u0027s schemas, Java\u0027s V5\nevolution test included.\n\nClient crate:\n- Schema::json() and Schema::avro() for a record type that serde\n  serializes and apache-avro describes (#[derive(AvroSchema)]). Both\n  tell the broker an Avro schema, as Java\u0027s do: no name, the derived\n  definition, and Java\u0027s two properties, with __alwaysAllowNull false,\n  as an Option field is the nullable one. JSON values go through\n  serde_json and read whichever version wrote them, as in Java.\n- Avro values are datums. A consumer of Avro, alone or as a key\u0027s or a\n  value\u0027s, nested key/value schemas included, fetches the schema of\n  each version as a generic consumer does, and reads each message with\n  it: apache-avro resolves it into the consumer\u0027s schema, which fills\n  in what a later version adds and takes the fields in the writer\u0027s\n  order, which Java\u0027s reflection picks. A key/value schema hands each\n  part its part of the writer\u0027s.\n- Definitions are parsed once each. Java\u0027s parser takes names that\n  apache-avro refuses, such as the namespace ending in $ that older\n  Java clients give a nested class\u0027s record: a definition\u0027s names\n  become valid Avro names first.\n- Generic records of JSON and Avro: GenericValue::Json and\n  GenericValue::Avro hold serde_json\u0027s and apache-avro\u0027s values, and\n  GenericRecord gains Java V5\u0027s fields() and field(name), which gives\n  an Avro union\u0027s branch, as Java\u0027s record holds it.\n- apache-avro 0.23 (Apache-2.0) and serde are optional dependencies,\n  behind the json and avro features, both on by default. The library\n  doesn\u0027t take apache-avro\u0027s derive; applications and the tests do.\n\nIntegration tests against Pulsar 5.0.1: JSON and Avro records both\nways, typed and as generic records; and Java\u0027s V5 evolution test across\nthe two clients, under BACKWARD: Java writes the first version, the\nsegment splits, Rust writes the second, both clients read every record\nwith the second version, and a version that requires its new field is\nrefused. SchemaTool gains json, avro, avro-v1 and avro-v2.\n\nDocs: docs/7-api.md §8, PLAN.md\u0027s M7."
    },
    {
      "commit": "d3a13780a0d1b008b09cdf2795d33df688c00b4b",
      "tree": "fdac44338679663e8260bf9a2716214c5f823c86",
      "parents": [
        "b8028b0878fca845c4c5f6094f23dde055f10aa2"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Sun Nov 22 10:12:40 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sun Nov 22 10:12:40 2026 -0800"
      },
      "message": "M6 follow-up: baseline.sh reports failed runs; reword the CPU finding (#30)\n\n- tools/perf/baseline.sh: each tool\u0027s output went through\n  `grep -o \u0027Aggregated.*\u0027`, so a failed run lost what the tool\n  printed, and under `set -e` and `pipefail` the script stopped\n  without a word. A run that ends without its summary line now prints\n  the tool\u0027s last lines and says so, and the script still stops.\n- docs/8 §6.1 and PLAN.md: the CPU the 1 KiB runs measured is the\n  client side\u0027s, the producer\u0027s and that of `perf` driving it, not the\n  producer\u0027s alone."
    },
    {
      "commit": "b8028b0878fca845c4c5f6094f23dde055f10aa2",
      "tree": "c59a13bac1ff8e5833e72e3e872abb12c5a4b4c4",
      "parents": [
        "8704ec65dcc97fcf705dbea10bbe95134f9a47a8"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Sun Nov 22 10:10:01 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sun Nov 22 10:10:01 2026 -0800"
      },
      "message": "Forced-migration test: expect what the regular topic stored, not its messages-in count (#32)\n\nv4_and_rust_clients_across_a_forced_migration came up one message short\nnow and then (151 of 152, 137 of 138, 160 of 161 in CI). It expected\nthe Rust Queue consumer to receive the regular topic\u0027s msgInCounter,\nread once the forced migration had terminated the topic, plus the 20\nRust messages sent after the migration.\n\nThe broker counts a message when it takes the send, before the managed\nledger stores it. The v4 producer keeps sending through the migration,\nso a send that reaches a partition after its managed ledger was\nterminated is counted, then fails with TopicTerminated: no consumer can\nreceive it. With the v4 producer at 100 msg/s the test failed 4 runs\nof 10, each time with one partition\u0027s msgInCounter one above its\nstored entries and a \"Failed to persist msg in store\" warning at the\ntermination, while the Rust and the v4 consumers read the same, stored,\nmessages.\n\nThe v4 consumer, once it has read the terminated topic to its end,\ngives what the topic stored: the Rust Queue consumer must receive as\nmany, plus the 20 Rust messages. The count stays exact. The counter\nstill checks that the v4 producer stores nothing after the migration."
    },
    {
      "commit": "8704ec65dcc97fcf705dbea10bbe95134f9a47a8",
      "tree": "a66ab66d312fdca561c262e9dc0516a73bcea742",
      "parents": [
        "9b4a00e0bc94a3af8ca67ba8f3801523ad96177d"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Sun Nov 22 10:06:15 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sun Nov 22 10:06:15 2026 -0800"
      },
      "message": "M7, schemas part 3: generic records (#33)\n\nThe third of the schema pull requests (docs/7-api.md §8): generic\nrecords, which decode each message with the schema it was written\nwith, fetched from the broker by version. Tested on the simulated\ncluster and against a 5.0.1 broker with Java\u0027s Schema.autoConsume().\n\nClient crate:\n- Schema::auto_consume(), as Java V5\u0027s Schema.autoConsume(): its values\n  are GenericRecords, the writer schema\u0027s type and a GenericValue. It\n  decodes the primitive types, key/value (a null key or value reads as\n  null) and bytes; a schema of a type Java V5 doesn\u0027t name, such as\n  v4\u0027s dates, reads as bytes. JSON, Avro and Protobuf values fail to\n  decode until their pull requests.\n- A consumer of it fetches the schema of each version from a broker of\n  the service URL, by the topic of the message\u0027s segment, as Java does\n  and as wire-protocol §10 has the schema commands go to a segment. It\n  fetches each version once, before it delivers the first message of\n  it; the messages after it wait, in order. A message without a\n  version, or of a version the topic doesn\u0027t have, reads as bytes.\n  Connection failures are retried as a lookup\u0027s are; a fetch the broker\n  fails, or answers without a schema, fails that one message\u0027s value(),\n  and the next message of the version fetches again. The three kinds\n  of consumer share the code, in consumer/writers.rs.\n- It declares AUTO_CONSUME, which the broker doesn\u0027t check. Producers\n  refuse it at create with InvalidConfiguration, as Java v4\u0027s do, and\n  producers and consumers refuse a key/value schema with a part of it.\n- SchemaType gains Java V5\u0027s other types: Json, Avro, Protobuf,\n  ProtobufNative, AutoConsume and None.\n- The lookup\u0027s retry loop serves the schema fetch too.\n\nTestkit: CommandGetSchema on a segment gets its topic\u0027s schema of a\nversion, named after the topic, or TopicNotFound, as on the broker,\nwith knobs to hold or fail the answers. A consumer of an AUTO_CONSUME\nschema isn\u0027t checked, nor counted when the world decides whether a\nsegment is idle.\n\nIntegration tests against Pulsar 5.0.1: each schema from Java to a Rust\ngeneric consumer, and from Rust to a Java one; a generic consumer,\nthrough the proxy, reading a message of a schema and one without, on a\ntopic whose typed consumer registered the schema after it; and a topic\nwith messages but no schema taking a generic consumer. SchemaTool gains\na generic codec.\n\nDocs: docs/7-api.md §8, PLAN.md\u0027s M7."
    },
    {
      "commit": "9b4a00e0bc94a3af8ca67ba8f3801523ad96177d",
      "tree": "378c76b856a402b2f7c9c906665024fd20ffbcf0",
      "parents": [
        "e6221c735ea21ad46a07e2247fcafbf25f83f923"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Sun Nov 22 09:05:12 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sun Nov 22 09:05:12 2026 -0800"
      },
      "message": "Bump url to 2.5.9 for RUSTSEC-2026-0592 (#31)\n\ncargo deny fails on main: RUSTSEC-2026-0592, a stack overflow in\nUrl::origin() on nested blob: URLs, flags url 2.5.8, which the\nintegration tests reach through testcontainers 0.28 and bollard 0.21.\nurl 2.5.9 has the fix. It requires form_urlencoded ^1.2.3, so that\nmoves from 1.2.2 to 1.2.3 with it; nothing else in Cargo.lock changes."
    },
    {
      "commit": "e6221c735ea21ad46a07e2247fcafbf25f83f923",
      "tree": "584da9f41bb6c442aa5b11a63d5543267710062f",
      "parents": [
        "15ed94735da5adf375638010d12d4b79f006a7dd"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Sun Nov 22 08:02:21 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sun Nov 22 08:02:21 2026 -0800"
      },
      "message": "M6, part 3: benchmarks and a baseline (#28)\n\nThe first round of benchmarks (docs/8 §6), and a baseline against\nJava\u0027s V5 client on a 5.0.1 broker.\n\n- Micro-benchmarks of the protocol crate, with criterion: the\n  producer\u0027s state machine on 1000 keyed messages, batched and not,\n  sans IO; each codec compressing a batch, and the consumer decoding\n  it.\n- tools/perf: perf produce and perf consume, the producer\u0027s and the\n  Queue consumer\u0027s throughput and latency against a broker, with the\n  options and the summary lines of Java\u0027s pulsar-perf, on the\n  thread-safe client or the local one. A workspace member outside the\n  default ones, as checks/ are.\n- tools/perf/baseline.sh: both clients, each in a container on the\n  broker\u0027s Docker network, against a standalone broker of its own for\n  each run, both bounded by a 64 MiB memory limit.\n\nDocs: the harnesses and the baseline (8 §6), and PLAN.md\u0027s M6, done."
    },
    {
      "commit": "15ed94735da5adf375638010d12d4b79f006a7dd",
      "tree": "3f02eda5f07d8ff5f164dab0fb824eaff2478e5f",
      "parents": [
        "c6ba2650ca07049d82856ac7dec84372c08142c7"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Sun Nov 22 08:01:58 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sun Nov 22 08:01:58 2026 -0800"
      },
      "message": "M7, schemas part 2: key/value (#29)\n\nThe second of the schema pull requests (docs/7-api.md §8): key/value\nschemas with Java\u0027s inline encoding, tested on the simulated cluster\nand against a 5.0.1 broker with Java\u0027s v4 key/value schema.\n\nClient crate:\n- Schema::key_value(key, value), with values of KeyValue\u003cK, V\u003e: the key\n  and the value in the payload, each encoded with its own schema, the\n  key\u0027s length, 4 bytes big endian, and bytes, then the value\u0027s, as\n  Java\u0027s Schema.KeyValue writes them by default (INLINE). A null key or\n  value, which Java can write, fails to decode.\n- Java\u0027s schema info: named KeyValue, of type KeyValue, with the key\u0027s\n  and the value\u0027s definitions in its definition, and their names,\n  types and properties, and the encoding, in its properties. Key/value\n  schemas nest, as Java\u0027s do.\n- SchemaInfo::properties is public, and producers and consumers\n  declare the properties to the broker.\n- serde_json moves from the dev-dependencies to the dependencies: a\n  key/value schema records its key\u0027s and value\u0027s properties as JSON,\n  as Java\u0027s does.\n\nIntegration tests against Pulsar 5.0.1: key/value pairs of a string and\nan int32 from Rust to Java and back. Java V5\u0027s factory has no key/value\nschema, so SchemaTool takes v4\u0027s through V5Interop, and the Java tools\ncompile against the V5 client and the v4 API too.\n\nDocs: docs/7-api.md §8, Java fix J21 (a key/value factory for Java V5),\nPLAN.md\u0027s M7."
    },
    {
      "commit": "c6ba2650ca07049d82856ac7dec84372c08142c7",
      "tree": "1487d1ca396697b1b533f2f2d45cd3a98d021174",
      "parents": [
        "0258e3e04d756dd0d0730810e62d04c79b7c297e"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Sat Nov 21 18:04:46 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 21 18:04:46 2026 -0800"
      },
      "message": "M7, bridge part 2: follow a regular topic\u0027s migration (#23)\n\nThe 5.0.1 broker gives a regular topic\u0027s synthetic layout epoch 0, and\ncommits the layout of its migration at epoch 0 too. The layout watch\nand the producer, Queue and Checkpoint machines applied only a greater\nepoch, so they kept the synthetic layout. After a migration every send\nfailed with TopicTerminated, even from a producer created afterwards on\nthe same client, and consumers never read the new segments.\n\n- Layout::supersedes: a greater epoch, or a migrated topic\u0027s first\n  layout over its synthetic one at the same epoch (spec gap 29). The\n  watch and the three machines use it.\n- Testkit: World::migrate migrates a regular topic as 5.0.1 does, and\n  the world finds the topic by its topic:// name from then on.\n- Scenarios: a producer keeps each key\u0027s order across a migration with\n  sends in flight, and follows a migration made while it was\n  disconnected. A Queue consumer reads the legacy segments to their\n  end and the new ones from their start. A Checkpoint consumer reads\n  the legacy segments first, and resumes a checkpoint taken before the\n  migration. A Stream consumer reads a migrated topic\u0027s legacy\n  segments first.\n- DESIGN.md: spec gap 29, J19 (the broker should commit the migrated\n  layout at a greater epoch), and J1 notes the exception, which keeps\n  Java following migrations."
    },
    {
      "commit": "0258e3e04d756dd0d0730810e62d04c79b7c297e",
      "tree": "1487d1ca396697b1b533f2f2d45cd3a98d021174",
      "parents": [
        "e66ad9e02ce3ebba71aa86a07dc754729d637f94"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Sat Nov 21 18:04:30 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 21 18:04:30 2026 -0800"
      },
      "message": "M7, schemas part 1: the primitive types, and C11\u0027s IncompatibleSchema (#26)\n\nThe first of the schema pull requests (docs/7-api.md §8): the primitive\ntypes, named and encoded as Java\u0027s, and C11\u0027s typed error for a schema\nthe topic refuses, tested on the simulated cluster and against a 5.0.1\nbroker.\n\nClient crate:\n- Schema::bool, int8, int16, int32, int64, float32 and float64, as Java\n  V5\u0027s factories: Java\u0027s names and big-endian payloads. A payload of\n  another size fails to decode.\n- SchemaInfo (name, type, definition) and SchemaType are public, and\n  Schema::info returns a schema\u0027s. Raw bytes have one, of type Bytes,\n  and still declare nothing to the broker, as in Java.\n- IncompatibleSchema fails a consumer\u0027s subscribe, a Checkpoint\n  consumer\u0027s create, an exclusive producer\u0027s create, and a Shared\n  producer\u0027s sends: it registers on a segment with the first message\n  routed there, as Java V5\u0027s does (spec gap 30), and stays usable. The\n  error paths were there; this tests them.\n\nTestkit: topics keep a schema history, one for all their segments, as\nthe broker does. A producer\u0027s schema takes the version of an equal one,\nor becomes the next unless its type differs from the latest\u0027s; the\nversion goes back in ProducerSuccess, 8 bytes big endian. A consumer\u0027s\nschema must have the latest\u0027s type, and becomes the first on a segment\nwith no producer, consumer or entry. World::schemas and\nWorld::register_schema. The client tests\u0027 shared topic registers a\nString schema, as the clients storing strings there would have.\n\nIntegration tests against Pulsar 5.0.1: C11, the first consumer of a\nnew topic registering its schema, a topic with messages and no schema\nrefusing one, and string and the primitive types from Rust to Java and\nback, with a Java tool, SchemaTool, built with CheckpointTool into one\njar.\n\nDocs: docs/7-api.md §8 (the struct, when the error surfaces, the order\nof the schemas), spec gap 30, PLAN.md\u0027s M7."
    },
    {
      "commit": "e66ad9e02ce3ebba71aa86a07dc754729d637f94",
      "tree": "6a3a36ba4c478dafc0c91bf4120c8de761b4d14b",
      "parents": [
        "1c53741f6a24f668255013e8864e0eb155904cb1"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Sat Nov 21 15:23:30 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 21 15:23:30 2026 -0800"
      },
      "message": "M7, bridge part 3: clients during and after a migration (#25)\n\n* M7, bridge part 2: follow a regular topic\u0027s migration\n\nThe 5.0.1 broker gives a regular topic\u0027s synthetic layout epoch 0, and\ncommits the layout of its migration at epoch 0 too. The layout watch\nand the producer, Queue and Checkpoint machines applied only a greater\nepoch, so they kept the synthetic layout. After a migration every send\nfailed with TopicTerminated, even from a producer created afterwards on\nthe same client, and consumers never read the new segments.\n\n- Layout::supersedes: a greater epoch, or a migrated topic\u0027s first\n  layout over its synthetic one at the same epoch (spec gap 29). The\n  watch and the three machines use it.\n- Testkit: World::migrate migrates a regular topic as 5.0.1 does, and\n  the world finds the topic by its topic:// name from then on.\n- Scenarios: a producer keeps each key\u0027s order across a migration with\n  sends in flight, and follows a migration made while it was\n  disconnected. A Queue consumer reads the legacy segments to their\n  end and the new ones from their start. A Checkpoint consumer reads\n  the legacy segments first, and resumes a checkpoint taken before the\n  migration. A Stream consumer reads a migrated topic\u0027s legacy\n  segments first.\n- DESIGN.md: spec gap 29, J19 (the broker should commit the migrated\n  layout at a greater epoch), and J1 notes the exception, which keeps\n  Java following migrations.\n\n* M7, bridge part 3: clients during and after a migration\n\nEnd-to-end tests of the migration bridge against Pulsar 5.0.1, during\nand after the migration of a regular topic to a scalable one, with the\nfix that makes the client follow it.\n\n- A producer keeps each key\u0027s order while the topic migrates, sends in\n  flight, on a partitioned and a non-partitioned topic. A producer\n  created afterwards on the same client sends to the new segments, and\n  a Stream consumer reads everything, every key in order\n  (V5MigrationEndToEndTest).\n- A Queue consumer and a Checkpoint consumer attached through the\n  migration get every message once, the Checkpoint consumer every key\n  in order. A checkpoint taken before the migration resumes after it,\n  and a Queue consumer created afterwards reads the whole topic.\n- On a topic migrated with a backlog, a Stream consumer reads the\n  legacy segments first, every key in order, and a member of a\n  Checkpoint consumer group reads them and the new ones\n  (testStreamConsumerReadsLegacyParentFirst,\n  testCheckpointConsumerGroupReadsLegacyParent). Both are marked as\n  managed by a V5 client on the legacy segments.\n- v4 and Rust clients side by side through a forced migration: the v4\n  consumer reads what the regular topic stored, the v4 producer stores\n  nothing more, and the Rust producer and Queue consumer carry on.\n\nPLAN.md: the state of the bridge in M7.\n\n* Wait for the v4 producer\u0027s refusal instead of five seconds\n\nOn a slower machine, as in CI, pulsar-perf\u0027s JVM was still starting\nfive seconds in, and was stopped before the broker refused it, so its\noutput had no TopicTerminated. Both tests that check the refusal now\npoll the producer\u0027s output until it shows, for up to a minute."
    },
    {
      "commit": "1c53741f6a24f668255013e8864e0eb155904cb1",
      "tree": "201474150a037f6e237ee723b2b446381b02f81f",
      "parents": [
        "4ebb7506a1103bc7520367976f6e5ee4ac537c68"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Sat Nov 21 15:23:29 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 21 15:23:29 2026 -0800"
      },
      "message": "M7, bridge part 1: v4 and Rust clients side by side on regular topics (#21)\n\nEnd-to-end tests of the migration bridge against Pulsar 5.0.1, before\na topic migrates: Rust clients on regular persistent:// topics, beside\nJava v4 clients that run in the broker container throughout.\n\n- A v4 producer and consumer beside a Rust producer, Queue consumer and\n  Checkpoint consumer, on a partitioned and a non-partitioned topic:\n  every consumer gets every message, and each key goes to the partition\n  a v4 producer picks (Java\u0027s V5RegularTopicInteropTest).\n- A v4 consumer and a Rust Queue consumer on one Shared subscription,\n  each message going to one of them.\n- Every Rust producer and consumer on a regular topic carries\n  __pulsar.v5.managed\u003dtrue; with only them attached, the topic\n  migrates without --force.\n- The migration is refused while a v4 client is attached. Forced, it\n  terminates the regular topic: the v4 consumer reads what is left,\n  and a v4 producer stores nothing more.\n- A Checkpoint consumer group can\u0027t use a regular topic: the 5.0.1\n  controller serves migrated topics only (spec gap 28).\n- Ignored until a broker serves it: a Stream consumer reading a regular\n  topic, which 5.0.1 refuses for the same reason (J18).\n\nHarness: Java v4 clients in the background (pulsar-client consume,\npulsar-perf produce), and admin calls that may fail."
    },
    {
      "commit": "4ebb7506a1103bc7520367976f6e5ee4ac537c68",
      "tree": "26ec36135d6e409f24d90e29e63e51b3b6776867",
      "parents": [
        "b8b9d45e8ca6fd1032f3607da7ba26799da19811"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Sat Nov 21 10:39:06 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 21 10:39:06 2026 -0800"
      },
      "message": "M6, part 2: compression on the producer (#24)\n\nThe producer compresses each entry\u0027s payload with the codec of its\nCompressionPolicy, LZ4, ZLIB, ZSTD or Snappy, as Java V5\u0027s does.\n\nProtocol crate:\n- compression: the four codecs, each behind its feature, with the\n  decoders moved from entry. LZ4 and Snappy blocks, ZSTD frames at\n  Java\u0027s level 3, and ZLIB as a finished, standard stream, which the\n  Java, C++ and Go readers take: they stop at the recorded size.\n- ProducerOptions gains the codec. An entry\u0027s payload is compressed\n  whole, whatever its size, with the codec and the uncompressed size\n  in its metadata; the broker\u0027s limit applies to the compressed entry.\n\nClient crate:\n- CompressionPolicy and CompressionType, as Java\u0027s: none by default.\n  ProducerBuilder::compression_policy. A codec the build leaves out\n  fails create with InvalidConfiguration.\n- Features lz4, zlib, snappy and zstd, all on by default, forwarded to\n  the protocol crate, which the workspace now takes without them.\n\nCI: clippy without the default features, so that a build leaving the\ncodecs out stays clean.\n\nDocs: the codecs (3 §6), compression (5 §2, 7 §3), J15, the README and\nPLAN.md."
    },
    {
      "commit": "b8b9d45e8ca6fd1032f3607da7ba26799da19811",
      "tree": "79004a58b4b20cc0844b23537ac0d74b3f44ba83",
      "parents": [
        "33d4932cb5bfce391a332d6e475abead2aee7194"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Sat Nov 21 09:38:20 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 21 09:38:20 2026 -0800"
      },
      "message": "M6, part 1: batching by entry bucket (#22)\n\nThe producer batches messages, one open batch per entry bucket of a\nsegment, as Java V5\u0027s producer does with its EntryBucketBatchContainer.\n\nProtocol crate (producer):\n- Batching, in ProducerOptions: a segment\u0027s open batches close\n  together, once they hold the most messages or payload bytes between\n  them, or the delay after their first message. Their entries go out\n  in the order of their sequence ids, each entry\u0027s being its highest\n  message\u0027s: the broker drops, as a duplicate, an entry whose sequence\n  id isn\u0027t above the last one it took from the producer.\n- Each entry is stamped with the range of its messages\u0027 bucket hashes.\n  A message gets its sequence id as it goes into a batch, and an entry\n  is written again unchanged after a reconnect.\n- What goes alone: a message that doesn\u0027t fit closes the batches first,\n  so a message too large for the broker fails alone; one with a\n  delivery time or replication clusters, which are the entry\u0027s; one\n  whose sequence id may be a duplicate\u0027s. The byte limit is at most the\n  broker\u0027s.\n- A send completes with its index in the entry and the entry\u0027s size.\n  An entry times out whole, at its first message\u0027s deadline.\n- flush() closes the open batches, and covers the messages still\n  waiting for a registration or a layout. A close fails what the open\n  batches hold; a segment that goes away parks them.\n\nClient crate:\n- BatchingPolicy, with Java V5\u0027s defaults (on, 1 ms, 1000 messages,\n  128 KiB), and ProducerBuilder::batching_policy.\n- Producer::flush sends the open batches at once; the blocking API\u0027s\n  send flushes its batch, as Java\u0027s blocking send does.\n\nTestkit: Stored::messages and World::messages decode every message of\nan entry. The harness\u0027s producer keeps batching off.\n\nDocs: batching (5 §2), flush (6 §3.4), the API (7 §3), J20 (Java\u0027s\nbatch gives every message its first one\u0027s replication clusters), the\nREADME and PLAN.md."
    },
    {
      "commit": "33d4932cb5bfce391a332d6e475abead2aee7194",
      "tree": "0a5a444e6de1b42befac47a181397923896f9a68",
      "parents": [
        "4879e3f93647676919d6e5c8b612afd0f22e3d0e"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Fri Nov 20 18:24:20 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 18:24:20 2026 -0800"
      },
      "message": "M5, part 3: the grouped Checkpoint consumer (#20)\n\nA Checkpoint consumer as a member of a group: it registers with the\ntopic\u0027s controller, on M4\u0027s assignment session, and reads the segments\nthe controller assigns it.\n\nProtocol crate (checkpoint_consumer):\n- CheckpointConsumer::grouped: a CHECKPOINT registration under the\n  member\u0027s name, with the group as the subscription. Its segments come\n  from the assignment instead of the layout; a refused registration, or\n  a connection lost before its answer, fails the create, which\n  completes once registered with every assigned reader subscribed.\n  Closing unsubscribes.\n- As Java\u0027s managed consumer: no parents first and no sealed-end asks\n  (an assignment has no lineage, and the controller orders nothing for\n  a Checkpoint group), a segment that leaves the assignment leaves the\n  checkpoint, and the latest position applies to each segment whenever\n  the member gets it.\n- A segment that comes back gets a new reader only once the last one is\n  closed and its last message id answered: a member\u0027s readers share a\n  subscription, and the answer must reach no later reader.\n- A message carries its segment\u0027s attachment (ReceivedMessage gains\n  the field, zero for the other consumers): one taken before its\n  segment left and came back moves no checkpoint, as Java fences its\n  positions by reader attachment.\n- on_closed and on_last_message_id take the time, to attach then.\n\nClient crate:\n- CheckpointConsumerBuilder::consumer_group. A member without a name\n  gets a random one, v5-checkpoint- and 8 letters and digits, as in\n  Java.\n- The consumer task registers a member and leaves the group, with M4\u0027s\n  registration, and holds the layout watch only until the create.\n\nTestkit: GroupHarness drives the members of a group against the\nsimulated controller; it shares a reader driver with CheckpointHarness.\n\nIntegration tests against Pulsar 5.0.1, through the proxy: two members\nsharing a topic\u0027s segments and handing them over as one leaves, and a\nmember created after a split reading the sealed backlog.\n\nDocs: the grouped mode (6 §6.2), spec gap 7 (nothing orders a\nCheckpoint group\u0027s segments), the API (7 §4), README and PLAN.md."
    },
    {
      "commit": "4879e3f93647676919d6e5c8b612afd0f22e3d0e",
      "tree": "2418c4ec32ce602b9de8f6c319c08d0e392e1b06",
      "parents": [
        "ba68d506e61b50c09f8a5c84254b52a8a4e84105"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Fri Nov 20 17:38:18 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 17:38:18 2026 -0800"
      },
      "message": "M4, part 3: the Stream consumer (#18)\n\n* M4, part 3: the Stream consumer\n\nThe Stream consumer in the thread-safe, local and blocking APIs, on the\nstate machine of M4, part 2.\n\nProtocol crate:\n- Layout::controller(tls): the controller the layout names, if any.\n- BrokerAddress::behind(proxy): any broker behind a proxy, which picks\n  one when proxy_to_broker_url is empty.\n\nClient crate:\n- new_stream_consumer, StreamConsumerBuilder and StreamConsumer, in the\n  thread-safe, local and blocking APIs: receive, receive_timeout,\n  receive_batch, a Stream view, acknowledge_cumulative, close.\n- A consumer without a name gets a random one, v5-stream- and 8 letters\n  and digits, as in Java.\n- The driver task finds the controller: behind a proxy, any broker;\n  otherwise the layout\u0027s controller, or the service URL while the\n  layout names none. It registers, routes what the controller and the\n  segments\u0027 brokers push, and unregisters on close.\n\nIntegration tests against Pulsar 5.0.1, through a proxy: in order with\ncumulative acks, a sealed backlog first in key order, two consumers\nsharing a segment by bucket, the same ack after a rewind, and a closed\nconsumer\u0027s segments handed over at once.\n\nDocs: the Stream consumer\u0027s API (7 §4), the README\u0027s status, and what\nPLAN.md\u0027s M4 ported.\n\n* Wrap the README and PLAN lines that ran past 120 columns"
    },
    {
      "commit": "ba68d506e61b50c09f8a5c84254b52a8a4e84105",
      "tree": "0d7e7c5c20832c1077bb4fb5e2b7acbd451c8866",
      "parents": [
        "434659043e9aa7782398cfa13565a5aafd803bf1"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Fri Nov 20 17:38:18 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 17:38:18 2026 -0800"
      },
      "message": "M4, part 2: the assignment session and the Stream consumer, sans IO (#17)\n\n* M4, part 2: the assignment session and the Stream consumer, sans IO\n\nThe Stream consumer\u0027s state machine, on the segment consumer of M4,\npart 1, and a simulated controller to run it against. The driver and\nthe API come in part 3.\n\nProtocol crate:\n- assignment: the sans-IO session with a topic\u0027s controller, for a\n  Stream or a grouped Checkpoint consumer, as Java\u0027s\n  ScalableConsumerClient keeps it.\n  - It registers under the consumer\u0027s name, and applies each assignment\n    whose layout epoch is at least the last applied.\n  - A failure of the first registration fails the subscribe.\n  - After a connection loss it registers again, from 100 ms doubling to\n    30 s.\n  - Closing unregisters, once a registration in flight settles.\n- stream_consumer: the sans-IO StreamConsumer.\n  - A segment it owns whole is subscribed Exclusive; a shared one\n    Key_Shared by entry bucket, with the segment\u0027s boundaries.\n  - A segment that leaves the assignment, or flips between the two, gives\n    nothing more, and its consumer closes once the application has\n    acknowledged what it was given.\n  - The subscribe waits out ConsumerBusy and ConsumerAssignError, the\n    broker\u0027s answer while another member still holds a segment, up to\n    the operation timeout. Later failures are retried after a shared\n    backoff, or at once on an assignment.\n  - A message carries its position vector, taken when the application\n    takes it, and a cumulative ack fans out over the segments in it.\n  - The initial position applies to the first layout\u0027s segments; later\n    ones start at the earliest, as the Queue consumer\u0027s do.\n\nTestkit:\n- scalable::controller: the 5.0.1 broker\u0027s SubscriptionCoordinator:\n  registrations by name, the grace period, and its assignment, which\n  hands a segment out once its ancestors are drained, and has members\n  past the segments share them by bucket. A split\u0027s children get the\n  subscriptions of the groups with members.\n- StreamHarness drives a group of StreamConsumers against it.\n\nDocs: the Stream consumer (6 §5), with a shared segment\u0027s acks in the\norder given; the controller answers the open question on parents first\n(6 §10).\n\n* Java\u0027s Stream consumer marks legacy segments V5-managed too\n\nJava\u0027s ScalableStreamConsumer marks its consumers on legacy segments as\nV5-managed, as the Queue consumer does, since PIP-475\u0027s migration\ncommand: the docs said it doesn\u0027t. And the lines of docs/6 §5 that ran\npast 120 columns are wrapped."
    },
    {
      "commit": "434659043e9aa7782398cfa13565a5aafd803bf1",
      "tree": "fa208d9abce5a95ae54485aacd7fd1f2432c032a",
      "parents": [
        "1dd3afe2e255a0830f616e4f1259b70540920962"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Fri Nov 20 17:38:18 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 17:38:18 2026 -0800"
      },
      "message": "M4, part 1: cumulative acks, Key_Shared attach and draining (#16)\n\nWhat the Stream consumer (M4, part 2) needs from the segment consumer,\nand the simulated broker\u0027s Exclusive and Key_Shared subscriptions.\n\nProtocol crate (consumer):\n- Cumulative acks, one per ack group: the highest position acknowledged,\n  inside a batch with the later indexes left in its ack set, as Java\n  writes it. One at or before an ack that went out on the registration\n  adds nothing; a new registration forgets them, since the broker may\n  deliver again what they covered.\n- Key_Shared by entry bucket: with bucket_ranges set, the subscribe is\n  STICKY with entryBucketDispatch and declares the segment\u0027s boundaries\n  (key-shared §4).\n- There a cumulative ack, which the broker forbids, acknowledges one by\n  one the messages given up to the one at the position, in the order\n  given. The spec and Java go by position, but a redelivery can come\n  after messages further on in the segment: by position, a drain could\n  wait for good, and an ack could cover a message taken after it (spec\n  gap 27).\n- Draining: pause() stops delivering, and is_settled() tells when the\n  application has acknowledged everything it was given. A cumulative ack\n  still to go out keeps a segment from being drained.\n\nTestkit:\n- Exclusive subscriptions, with cumulative acks.\n- Key_Shared by entry bucket, the buckets spread over the consumers as\n  the broker\u0027s EntryBucketConsumerSelector does; a bucket that moved\n  waits for its entries in flight.\n- A consumer of another type than the subscription\u0027s fails with\n  ConsumerBusy, one with other bucket boundaries with ConsumerAssignError.\n- World::rewind, as a reset of the subscription\u0027s cursor.\n\nDocs: the segment engine\u0027s cumulative acks and draining (5 §3), spec\ngap 27, and PLAN.md\u0027s split of M4 into three pull requests."
    },
    {
      "commit": "1dd3afe2e255a0830f616e4f1259b70540920962",
      "tree": "b1643806e73296aa56e17416e78d3c941b718626",
      "parents": [
        "05b91da057d63cd8f6d23ce3ebedb4932791e0b2"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Fri Nov 20 16:09:25 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 16:09:25 2026 -0800"
      },
      "message": "Record spec gaps 13–22, and the Java client and broker fixes to propose upstream (#13)\n\n* Record spec gaps 13-22, and the Java client and broker fixes to propose upstream\n\nDESIGN.md:\n- Spec gaps 13-22: ProducerBusy and ProducerFenced in one category,\n  per-segment sequence ids, when the send timeout starts, errors in a\n  later layout update, the send of a discarded duplicate, where the\n  sentinels sort, when a Queue consumer lets go of a drained sealed\n  segment, the position it subscribes a new segment at, Queue\n  subscriptions the controller doesn\u0027t know, and ZLIB entries that are\n  unfinished zlib streams.\n- A table of fixes to propose upstream, J1-J16: fourteen in the Java\n  client, and two in the broker that lose data and go first. A split or\n  a merge gives its children only the subscriptions registered on the\n  scalable topic, which a Queue consumer\u0027s never is; and the garbage\n  collection checks only those before it prunes a sealed segment past\n  retention.\n\ndocs/3, 5, 6 and 7 link each behavior to its gap or fix. docs/6 also\nsays how an error in a later layout update is handled, and notes the\ngarbage-collection hole for Queue consumers.\n\n* Add J17: Java\u0027s checkpoint readers lack the V5 marker\n\nScalableCheckpointConsumer opens its per-segment readers without the\n__pulsar.v5.managed\u003dtrue metadata that the producer and the Queue and\nStream consumers carry. On a legacy segment the broker counts each\nreader as a v4 client, and refuses to migrate the topic while one is\nattached, unless forced."
    },
    {
      "commit": "05b91da057d63cd8f6d23ce3ebedb4932791e0b2",
      "tree": "23f47cc08ad4ed7e088505532563224bc106eed9",
      "parents": [
        "5c16bf755912ecaa0353f72471a78376b07c410d"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Fri Nov 20 16:03:15 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 16:03:15 2026 -0800"
      },
      "message": "M5, part 2: the Checkpoint consumer\u0027s driver and API (#15)\n\n* M5, part 1: checkpoint encoding and the Checkpoint consumer\u0027s state machine\n\nCheckpoints in the Java client\u0027s bytes, and the sans-IO ungrouped\nCheckpoint consumer: a reader on every segment of a scalable topic,\nparents read before their children, and positions the application keeps\nand restores. The driver and the API come in part 2; the grouped mode\ncomes with M4\u0027s assignment session.\n\nProtocol crate:\n- checkpoint: Checkpoint, in the bytes of Java\u0027s CheckpointV5. Every\n  golden vector decodes, and the sorted ones encode byte for byte. It\n  reuses MessageId\u0027s segment-vector codec.\n- consumer: a reader mode for SegmentConsumer.\n  - Its subscription isn\u0027t durable, and each subscribe starts after its\n    position: where it starts, then the last message taken.\n  - The broker sends the start\u0027s entry again: the reader leaves out what\n    it read, as Java\u0027s v4 consumer does.\n  - At the latest position it waits, without permits, for the segment\u0027s\n    last message id (resolve), so that a checkpoint can name it.\n  - failure() keeps the error of a subscribe that failed for good.\n- checkpoint_consumer: the sans-IO CheckpointConsumer.\n  - A reader on every segment of the layout, active or sealed, in step\n    with each layout.\n  - Parents first: a segment\u0027s messages wait until every parent still in\n    the layout is read to its end, or gone.\n  - The end of a sealed segment is its last message id, asked once the\n    layout seals it: the broker tells a reader that the topic ended only\n    if it acknowledges, which these readers don\u0027t.\n  - A segment whose topic is gone (TopicNotFound) is skipped, and leaves\n    the checkpoint.\n  - Latest starts at the end of the first layout\u0027s segments, as Java\u0027s\n    CheckpointV5.latestOf; later segments are read from their start.\n  - A checkpoint names the last message delivered to the application:\n    deliver and rewind follow the receives answered and given back.\n  - The create is all or nothing. A reader that gives up later is\n    attached again after a shared backoff, or at once on a new layout.\n  - Readers on legacy segments carry the V5-managed property; Java\u0027s\n    don\u0027t.\n\nTestkit:\n- The simulated broker serves readers: subscriptions that aren\u0027t durable,\n  placed as the broker places them and gone with their consumer; and\n  CommandGetLastMessageId, with knobs to hold or fail it.\n- CheckpointHarness drives a CheckpointConsumer against it.\n- 45 scenarios ported from ScalableCheckpointConsumerTest,\n  ScalableCheckpointConsumerReconcileTest and the V5CheckpointConsumer*Test\n  classes, all but those that need a consumer group.\n\nProbed on a Pulsar 5.0.1 broker first: a reader that doesn\u0027t acknowledge\ngets no CommandReachedEndOfTopic for a sealed segment; the broker sends a\nreader\u0027s start entry again; a deleted segment\u0027s readers are closed, and\nsubscribing again fails with TopicNotFound.\n\nDocs: the reader (5 §4), the ungrouped Checkpoint consumer (6 §6.1), and\nspec gaps 23-26 in DESIGN.md.\n\n* M5, part 2: the Checkpoint consumer\u0027s driver and API\n\nThe ungrouped Checkpoint consumer in the thread-safe, local and blocking\nAPIs, on the state machine of part 1.\n\nClient crate:\n- new_checkpoint_consumer, CheckpointConsumerBuilder (topic,\n  start_position, consumer_name) and CheckpointConsumer: receive,\n  receive_timeout, receive_batch, a Stream view, checkpoint and close.\n  Checkpoint: earliest, latest, to_bytes and from_bytes.\n- The consumer task now drives either consumer, Queue or Checkpoint,\n  through a Machine enum: for a Checkpoint consumer it asks segments\u0027\n  last message ids and answers checkpoints. A receive\u0027s answer carries\n  where the checkpoint was before it, so that a receive dropped with\n  messages gives them back without moving the checkpoint.\n- The readers\u0027 subscription is named reader- and ten random hex digits,\n  as Java\u0027s v4 reader\u0027s is.\n\nIntegration tests against Pulsar 5.0.1: a resume across a split, a latest\nstart across a split, a deleted segment, and a checkpoint round trip with\nthe Java client across a split and a merge. The Java side is a small tool\ncompiled against the broker\u0027s V5 API in an eclipse-temurin JDK container,\nand run in the broker container. base64, already in the tree, is a new\ndev-dependency.\n\nDocs: Checkpoint consumers (7 §4), the integration tests (6 §6.1), M5 in\nPLAN.md, and the README\u0027s status."
    },
    {
      "commit": "5c16bf755912ecaa0353f72471a78376b07c410d",
      "tree": "a6538994b7b13a3390800dc1babe0a58633b7454",
      "parents": [
        "26647ca4a9965aaf7cb55c2e8a12abf18ec44dde"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Fri Nov 20 15:22:11 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 15:22:11 2026 -0800"
      },
      "message": "M5, part 1: checkpoint encoding and the Checkpoint consumer\u0027s state machine (#14)\n\nCheckpoints in the Java client\u0027s bytes, and the sans-IO ungrouped\nCheckpoint consumer: a reader on every segment of a scalable topic,\nparents read before their children, and positions the application keeps\nand restores. The driver and the API come in part 2; the grouped mode\ncomes with M4\u0027s assignment session.\n\nProtocol crate:\n- checkpoint: Checkpoint, in the bytes of Java\u0027s CheckpointV5. Every\n  golden vector decodes, and the sorted ones encode byte for byte. It\n  reuses MessageId\u0027s segment-vector codec.\n- consumer: a reader mode for SegmentConsumer.\n  - Its subscription isn\u0027t durable, and each subscribe starts after its\n    position: where it starts, then the last message taken.\n  - The broker sends the start\u0027s entry again: the reader leaves out what\n    it read, as Java\u0027s v4 consumer does.\n  - At the latest position it waits, without permits, for the segment\u0027s\n    last message id (resolve), so that a checkpoint can name it.\n  - failure() keeps the error of a subscribe that failed for good.\n- checkpoint_consumer: the sans-IO CheckpointConsumer.\n  - A reader on every segment of the layout, active or sealed, in step\n    with each layout.\n  - Parents first: a segment\u0027s messages wait until every parent still in\n    the layout is read to its end, or gone.\n  - The end of a sealed segment is its last message id, asked once the\n    layout seals it: the broker tells a reader that the topic ended only\n    if it acknowledges, which these readers don\u0027t.\n  - A segment whose topic is gone (TopicNotFound) is skipped, and leaves\n    the checkpoint.\n  - Latest starts at the end of the first layout\u0027s segments, as Java\u0027s\n    CheckpointV5.latestOf; later segments are read from their start.\n  - A checkpoint names the last message delivered to the application:\n    deliver and rewind follow the receives answered and given back.\n  - The create is all or nothing. A reader that gives up later is\n    attached again after a shared backoff, or at once on a new layout.\n  - Readers on legacy segments carry the V5-managed property; Java\u0027s\n    don\u0027t.\n\nTestkit:\n- The simulated broker serves readers: subscriptions that aren\u0027t durable,\n  placed as the broker places them and gone with their consumer; and\n  CommandGetLastMessageId, with knobs to hold or fail it.\n- CheckpointHarness drives a CheckpointConsumer against it.\n- 45 scenarios ported from ScalableCheckpointConsumerTest,\n  ScalableCheckpointConsumerReconcileTest and the V5CheckpointConsumer*Test\n  classes, all but those that need a consumer group.\n\nProbed on a Pulsar 5.0.1 broker first: a reader that doesn\u0027t acknowledge\ngets no CommandReachedEndOfTopic for a sealed segment; the broker sends a\nreader\u0027s start entry again; a deleted segment\u0027s readers are closed, and\nsubscribing again fails with TopicNotFound.\n\nDocs: the reader (5 §4), the ungrouped Checkpoint consumer (6 §6.1), and\nspec gaps 23-26 in DESIGN.md."
    },
    {
      "commit": "26647ca4a9965aaf7cb55c2e8a12abf18ec44dde",
      "tree": "039c8a14c5f4031704fbb57d13df1b6ccfeaba5e",
      "parents": [
        "653147e0288b4534e0abfa3088e1d3996e872961"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Fri Nov 20 13:13:43 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 20 13:13:43 2026 -0800"
      },
      "message": "M3, part 2: the Queue consumer (#12)\n\nA Shared consumer on every segment of a scalable topic, in step with its\nsplits, merges and garbage collection: the client\u0027s first public consumer.\n\nProtocol crate:\n- queue_consumer: the sans-IO QueueConsumer over SegmentConsumers.\n  - It subscribes to the segments each layout adds, and lets go of those\n    it drops, and of a sealed segment once drained.\n  - The initial position applies to the first layout\u0027s segments; later\n    ones start at the earliest position, as the broker doesn\u0027t give a\n    split\u0027s children the consumer\u0027s subscription.\n  - The subscribe is all or nothing, as in Java.\n  - A segment whose consumer gives up is retried after a shared backoff,\n    or at once on a new layout.\n  - Segments with messages take turns; acks go to the segment the id\n    names.\n- Layout::segments() and SegmentConsumer::is_finished().\n- ZLIB: decode the recorded size and no further, as Java\u0027s Inflater does.\n  Java never finishes its stream, so reading to its end rejected every\n  Java ZLIB entry, and acknowledged it as corrupt.\n\nClient crate:\n- new_queue_consumer, QueueConsumerBuilder, QueueConsumer and Message, in\n  the thread-safe, local and blocking APIs: receive, receive_timeout,\n  receive_batch, a Stream view, acknowledge, negative_acknowledge, close.\n- The driver task. A receive dropped before it completes loses no\n  message; a subscribe dropped on its way closes the consumer.\n- The local client closes consumers as it closes producers.\n\nTestkit:\n- The simulated broker\u0027s garbage collection, as two steps: prune and\n  delete_segment. Knobs to fail or hold one topic\u0027s subscribes.\n- QueueHarness drives a QueueConsumer against it.\n\nIntegration tests against Pulsar 5.0.1: Java V5 and v4 producers, each\ncodec, batch-index acks, a split while consuming, a Latest consumer across\na split, shared subscriptions, negative acks. They read the broker\u0027s stats\nwith serde_json, a new dev-dependency.\n\nDocs: the Queue consumer (6 §4), receives and acks (7 §4), Java\u0027s ZLIB\nstreams (3 §6), and the README\u0027s status."
    },
    {
      "commit": "653147e0288b4534e0abfa3088e1d3996e872961",
      "tree": "87e64f4d5ac477d8a4cf7119d7ff34e9bf32177c",
      "parents": [
        "c0e26274337cad00266a0ba3d039ba53bb5c43fa"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 18:24:52 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 18:24:52 2026 -0800"
      },
      "message": "M3, part 1: the segment consumer (#11)\n\nThe consumer of one segment. The Queue consumer (M3, part 2), the Stream\nconsumer (M4) and the Checkpoint consumer (M5) build on it, as Java\u0027s V5\nconsumers build on v4\u0027s ConsumerImpl.\n\nProtocol crate:\n- entry: decodes an entry as a consumer receives it.\n  - It checks the checksum and the metadata, decompresses with the codec the\n    metadata names, and splits a batch into its messages.\n  - It leaves out the messages the broker says were acknowledged already\n    (ack_set) and those compaction removed.\n  - A corrupt entry is acknowledged with the reason, as Java does.\n  - An encrypted entry, or a chunk of a larger message, is left\n    unacknowledged for a consumer that can read it.\n- Codecs: lz4_flex, flate2 on miniz_oxide, snap, and zstd on the C\n  libzstd. Each is behind a feature, all on by default.\n- consumer: the sans-IO SegmentConsumer, with Java\u0027s defaults:\n  - permits: 1000, and more each time half of them are taken;\n  - grouped acks: every 100 ms, or at once at 1000, batch indexes included;\n  - negative acks: after 60 s, a thousand entries per request;\n  - reconnects with backoff;\n  - the end of a segment;\n  - close, including a close while subscribing.\n- The producer shares its reconnect jitter and its list of retryable errors\n  with the consumer.\n\nTestkit:\n- The simulated broker has Shared subscriptions:\n  - dispatch by permits, round robin and priority;\n  - whole-entry and batch-index acks;\n  - redelivery, counted only when a consumer asks for it, as the broker\n    does;\n  - the end of the topic once everything is acked;\n  - publish_raw, for other clients\u0027 entries;\n  - unload;\n  - knobs to fail or hold subscribes.\n- ConsumerHarness drives a SegmentConsumer against it.\n\nDocs:\n- the segment engine\u0027s consumer section;\n- the Queue consumer\u0027s note on what Java does with drained segments;\n- the codecs decision;\n- PLAN.md\u0027s split of M3 into two pull requests, and its checks."
    },
    {
      "commit": "c0e26274337cad00266a0ba3d039ba53bb5c43fa",
      "tree": "50442083eb4a5d8a201f72fe75ea7d1c907d8968",
      "parents": [
        "b34580faad4c4f5ae05bb877f889de5bd34afd92"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 16:32:49 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 16:32:49 2026 -0800"
      },
      "message": "Fail an oversized message with its own error kind, MessageTooLarge (#10)\n\nA message larger than the broker\u0027s max_message_size failed with\nErrorKind::Other. It now fails with ErrorKind::MessageTooLarge. The message\nfails alone, and the producer stays usable.\n\nThe spec\u0027s error-model has no category for this failure. Java v4 raises\nInvalidMessageException, and Java V5 doesn\u0027t map it, so a V5 send fails\nwith a plain PulsarClientException. DESIGN.md records this as spec gap 12.\n\nA new unit test checks the error kind of every send failure."
    },
    {
      "commit": "b34580faad4c4f5ae05bb877f889de5bd34afd92",
      "tree": "8d6c17cb515e929f33a341cd54ef4f47354baa09",
      "parents": [
        "71d9b7420d07be3e67c21c1d26a104a77534dc69"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 15:36:41 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 15:36:41 2026 -0800"
      },
      "message": "M2: the producer, with per-key order across splits and merges (#8)\n\n* M2: the producer, with per-key order across splits and merges\n\nProtocol core (sans-IO):\n- Layouts from ScalableTopicDAG: segment names, routing by the high 16 bits\n  of the key\u0027s Murmur3 hash, keyless round-robin, and v4 partition routing\n  when every segment is legacy.\n- MessageId in the Java V5 byte format, checked against the Java golden\n  vectors, with Java\u0027s ordering and equality.\n- The scalable producer as one state machine: lazy per-segment producers\n  named \u003cname\u003e-seg-\u003cid\u003e, each with its own sequence ids as in Java; a batch\n  of one message per entry, stamped with the key\u0027s entry-bucket hash;\n  receipts matched against the queue head; resend after a reconnect with the\n  original bytes; per-message send timeouts; access modes, with exclusive\n  modes claiming every segment at create.\n- Per-key order across splits and merges, following Java: a segment that\n  goes away retires, its unstored messages are parked and new sends of its\n  keys held, then all go to its successors in call order.\n- Connections route pushed commands to their producer, session or watch,\n  and keep a wait-for-exclusive registration pending without a deadline.\n\nClient:\n- Layout watches, one per topic per loop, reopened with backoff.\n- The producer task on a loop, and the producer in the thread-safe, local\n  and blocking APIs; producers placed on the least loaded loop.\n- The client memory limit as the only bound on what producers hold, as in\n  Java V5: payload plus 1 KiB per message, waiting or failing at the limit.\n- Close like Java: waits for what the brokers have, fails what still waits.\n- Schema::bytes() and Schema::string().\n\nTests:\n- The testkit gets a simulated cluster (topics, layouts, split, merge,\n  terminate, with the 5.0.1 broker\u0027s ordering) and a harness driving the\n  producer against it: ported Java ordering, segment-gone, access-mode and\n  close scenarios, deterministically.\n- Driver tests over loopback for the producer task, the memory limit, the\n  three APIs and the send order of the pipelining combinators.\n- Integration tests against the 5.0.1 broker and proxy now produce through\n  every endpoint, and cover a split during traffic, partitioned and short\n  persistent:// topics, exclusive conflicts, fencing and not-found; the Java\n  client in the container reads back what Rust produced.\n\nDocs: the design follows what was built; three spec gaps added.\n\n* Raise test coverage, and fix what the new tests found\n\n- The producer state machine gets direct unit tests for its edge paths:\n  receipts that don\u0027t match the queue head, send errors, registration\n  failures, the ten-park limit, layouts that drop a segment while it is\n  registered or registering, close racing a registration, and routing\n  failures.\n- An exclusive producer still being created follows a layout that changes\n  meanwhile: it waits for the new segments instead of the sealed ones, where\n  it used to wait forever.\n- The simulated cluster answers sends with chosen errors, and has topic\n  epochs, so a fenced producer that comes back is refused as by the broker.\n  Scenarios for checksum, NotAllowed and TopicTerminated send errors,\n  fencing, shared producers refused by an exclusive one, and a waiting\n  producer that reconnects.\n- Driver tests for every message field on the wire, the whole blocking API,\n  refused sends and lookups, sends after close, oversized messages, a layout\n  that never comes and one pushed again, and Debug output.\n- A layout watch whose first layout times out closes its session once, not\n  again when dropped.\n- The split integration test produces until the split has completed, so a\n  slow pulsar-admin can\u0027t make it miss the split.\n- Unused helpers removed: Layout::segments, World::layout and has_output.\n\n* Cover the producer\u0027s paths, and drop the branches nothing reaches\n\nThe coverage gate had this branch at 97.4% against main\u0027s 99.1%. Most of\nthe lines it counted were never-called closures (each counts as a missed\nline) and defensive branches no caller can take. The branch is now at 99.7%,\nwith every line it adds covered.\n\nProducer task:\n- Each send carries its memory reservation as a guard that gives the room\n  back when dropped, so requests left in the channel at close need no drain.\n- A link unregisters its producer id when dropped. Unlinking keeps only the\n  segment\u0027s current generation, and a close takes the link with it.\n- `From\u003cError\u003e for RegisterError` replaces the error-mapping closures in\n  registration.\n- The timer has the same shape as the connection driver\u0027s.\n\nLayout watch:\n- The session is a guard that closes itself when dropped, instead of state\n  shared with the watch and closed from three places.\n- Opening a session is one function with `?`.\n\nState machine: three branches nothing reaches are gone:\n- unsent messages on a ready segment at close;\n- sent messages on a gone segment at a retirement check;\n- a parked message without an error.\n\nTestkit: the harness and the World drop their defensive branches for what\nthe World never sends, and the World can push an error to a topic\u0027s\nwatchers.\n\nNew tests cover:\n- ExclusiveWithFencing;\n- a wait-for-exclusive producer whose client closes;\n- a flush that outlasts earlier sends;\n- a flush after close, and a message without a value;\n- a watch that reopens through refused lookups, outlives an error on its\n  session, or stops with its client;\n- malformed layouts, and duplicates under deduplication;\n- schema versions;\n- close before registration, and close while reconnecting;\n- broker refusals found in errors;\n- short message ids, bucket splits, and a scalable command refused for a\n  broker without the feature.\n\nA flush on a closed producer now fails with AlreadyClosed. Before, one that\nraced the close could succeed."
    },
    {
      "commit": "71d9b7420d07be3e67c21c1d26a104a77534dc69",
      "tree": "9719c68a3267329d1909e3e0020de8c48d4d068a",
      "parents": [
        "dbaa22bb4155353543d467b237450716b21123bb"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 14:25:14 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 14:25:14 2026 -0800"
      },
      "message": "Widen compio-checks\u0027 median timer bound on macOS (#9)\n\nThe timers check failed a macOS run whose ten 100 ms sleeps were all 7 to 10\nms late, a median of 7.5 ms against the 5 ms bound. Across 21 recent CI\nruns, macOS measured a median of 0.4 to 2.5 ms and Linux at most 0.15 ms.\n\nOn macOS the bound is now 20 ms; Linux keeps 5 ms. compio\u0027s timer queue is\nthe same code on every platform, so the Linux runs still hold it to the\ntight bound. The 250 ms bound on any single sleep is unchanged."
    },
    {
      "commit": "dbaa22bb4155353543d467b237450716b21123bb",
      "tree": "2ecd58fec346e6aa160663114ec03b8a69a93214",
      "parents": [
        "5ad0da0dd90cc3ef85174c04e4afffc72bb35693"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 13:47:18 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 13:47:18 2026 -0800"
      },
      "message": "Reach 99% coverage: one timer path, and a seam for event loops that fail to start (#7)\n\n* Test the connection driver\u0027s partial writes and failed TLS reads\n\nA burst larger than the loopback socket buffers, sent while the simulated\nbroker on the same thread reads nothing, makes the TLS stream take the\noutgoing bytes in parts and park the rest. A TLS broker that drops the TCP\nconnection without a close_notify makes the read fail rather than end.\nBoth run in src/tests/driver.rs, a submodule of the crate\u0027s tests.\n\n* Cover the client\u0027s options, authentication and error kinds\n\nThe builder\u0027s validation, the TLS setups it turns into a rustls\nconfiguration, the authentication providers and the error kind of each\nprotocol failure were tested only where the connection tests passed\nthrough them. Two test modules under src/tests/ cover them:\n\n- errors.rs: the kind of each broker error code, connection failure,\n  request, lookup and URL failure; how an error prints, and its source.\n- options.rs: the options the builder refuses (no or a bad service URL,\n  TLS authentication on a plain URL, no event loops); options printing\n  without credentials; static and fetched tokens; TLS authentication from\n  PEM files; bad trust files and client certificates; hostname\n  verification off without trusted roots; a TLS 1.2 broker under relaxed\n  verification; and a mutual TLS handshake, which fails without the client\n  certificate.\n\nLine coverage goes from 84.6% to 91.9% on its own; auth.rs, config.rs and\nerror.rs have no line left uncovered.\n\n* Cover the connection driver, the pool and the clients\u0027 edge cases\n\nThe driver, the pool and both clients were tested on their main paths.\nsrc/tests/driver.rs and the new src/tests/clients.rs cover:\n\n- requests on a closed handle, and one queued behind a close;\n- the connect timeout over a TLS handshake nobody answers, and over an\n  authentication provider that never answers;\n- a request the broker\u0027s features don\u0027t allow, and one past its deadline\n  before the timer runs;\n- authentication challenges: a multi-round one answered by the provider,\n  a provider failing a refresh, and a challenge with no provider;\n- pushed commands, a refused connection, a connection through a proxy,\n  and how streams print;\n- a lookup the broker refuses, lookups following a redirect, the pool\n  closing while a connection attempt succeeds or fails, how the clients\n  print, and thread-safe jobs before and after the client closes.\n\n* Check the local builder\u0027s loop count too\n\ninto_config is generic over the client kind, and the coverage report counts\neach instantiation on its own: only the thread-safe one ran the check that\nrefuses zero event loops.\n\n* Give the driver\u0027s timer a single path to its deadline\n\npoll_timer handled a deadline in two places: when it had already passed,\nand when the sleep for it completed. compio completes a sleep only once\nits deadline has passed, so a woken driver always took the first; the\nsecond ran only if the deadline passed between the check and the sleep\u0027s\nfirst poll. Both now end in the same three lines, and the sleep is polled\nby a small helper.\n\n* Let tests start event loops that fail\n\nbuild() now delegates to a crate-private build_with(LoopStarter), whose\ntwo function pointers spawn a loop\u0027s thread and create its runtime;\nLoopStarter::SYSTEM holds the real ones, so build() behaves as before.\nTests use it to cover what happens when a loop thread can\u0027t be spawned,\nwhen its runtime can\u0027t be created, and when its thread exits without\nanswering: the build fails with the cause, after closing the loops that\ndid start."
    },
    {
      "commit": "5ad0da0dd90cc3ef85174c04e4afffc72bb35693",
      "tree": "41f2c59991b588dde0dfe43a666b5e14e9bc6824",
      "parents": [
        "058e183ecaea3bdd846146cfe06a1d9781691e71"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 13:16:00 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 13:16:00 2026 -0800"
      },
      "message": "Cover the connection driver, the pool and the clients\u0027 edge cases (#6)\n\n* Test the connection driver\u0027s partial writes and failed TLS reads\n\nA burst larger than the loopback socket buffers, sent while the simulated\nbroker on the same thread reads nothing, makes the TLS stream take the\noutgoing bytes in parts and park the rest. A TLS broker that drops the TCP\nconnection without a close_notify makes the read fail rather than end.\nBoth run in src/tests/driver.rs, a submodule of the crate\u0027s tests.\n\n* Cover the client\u0027s options, authentication and error kinds\n\nThe builder\u0027s validation, the TLS setups it turns into a rustls\nconfiguration, the authentication providers and the error kind of each\nprotocol failure were tested only where the connection tests passed\nthrough them. Two test modules under src/tests/ cover them:\n\n- errors.rs: the kind of each broker error code, connection failure,\n  request, lookup and URL failure; how an error prints, and its source.\n- options.rs: the options the builder refuses (no or a bad service URL,\n  TLS authentication on a plain URL, no event loops); options printing\n  without credentials; static and fetched tokens; TLS authentication from\n  PEM files; bad trust files and client certificates; hostname\n  verification off without trusted roots; a TLS 1.2 broker under relaxed\n  verification; and a mutual TLS handshake, which fails without the client\n  certificate.\n\nLine coverage goes from 84.6% to 91.9% on its own; auth.rs, config.rs and\nerror.rs have no line left uncovered.\n\n* Cover the connection driver, the pool and the clients\u0027 edge cases\n\nThe driver, the pool and both clients were tested on their main paths.\nsrc/tests/driver.rs and the new src/tests/clients.rs cover:\n\n- requests on a closed handle, and one queued behind a close;\n- the connect timeout over a TLS handshake nobody answers, and over an\n  authentication provider that never answers;\n- a request the broker\u0027s features don\u0027t allow, and one past its deadline\n  before the timer runs;\n- authentication challenges: a multi-round one answered by the provider,\n  a provider failing a refresh, and a challenge with no provider;\n- pushed commands, a refused connection, a connection through a proxy,\n  and how streams print;\n- a lookup the broker refuses, lookups following a redirect, the pool\n  closing while a connection attempt succeeds or fails, how the clients\n  print, and thread-safe jobs before and after the client closes.\n\n* Check the local builder\u0027s loop count too\n\ninto_config is generic over the client kind, and the coverage report counts\neach instantiation on its own: only the thread-safe one ran the check that\nrefuses zero event loops."
    },
    {
      "commit": "058e183ecaea3bdd846146cfe06a1d9781691e71",
      "tree": "0e8d88f3399aed453b9cd74ca5d86e6dff5ce3be",
      "parents": [
        "653c4036b53c6fbd8716d810e33222d117acfff3"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 12:59:03 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 12:59:03 2026 -0800"
      },
      "message": "Cover the protocol crate\u0027s edge cases in the testkit tests (#4)\n\nThe connection state machine, frame decoding and lookups were tested on\ntheir main paths only. New tests in the testkit cover:\n\n- tests/frames.rs: every malformed frame the decoder rejects, payload\n  frames without a checksum or with broker entry metadata, payload\n  commands going out with a valid checksum, and a connection closing on\n  bytes it can\u0027t parse or on a frame above the default size limit when\n  CONNECTED gives none.\n- tests/responses.rs: every response type completes the request it names;\n  an ack response without a request id, and an unknown command type, come\n  out as pushed commands.\n- tests/connection.rs: the handshake refusing anything but CONNECTED, a\n  closed connection ignoring input, timers and answers, a provider failure\n  closing the connection, a keepalive tick leaving later request deadlines,\n  the transaction coordinator feature gate, which failures are retryable,\n  and the simulated broker\u0027s responder.\n- tests/lookup.rs: answers a lookup can\u0027t follow, malformed and IPv6 URLs,\n  and a lookup\u0027s redirect count.\n\nLine coverage goes from 84.6% to 88.4%; the protocol crate has no line\nleft uncovered."
    },
    {
      "commit": "653c4036b53c6fbd8716d810e33222d117acfff3",
      "tree": "84f7a17a3e543724797695eb1e7f5180fd91b3e1",
      "parents": [
        "3d1528e50aa90422e634d6802b2e0c919e2e5a6c"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 12:32:15 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 12:32:15 2026 -0800"
      },
      "message": "Cover the client\u0027s options, authentication and error kinds (#5)\n\n* Cover the client\u0027s options, authentication and error kinds\n\nThe builder\u0027s validation, the TLS setups it turns into a rustls\nconfiguration, the authentication providers and the error kind of each\nprotocol failure were tested only where the connection tests passed\nthrough them. Two test modules under src/tests/ cover them:\n\n- errors.rs: the kind of each broker error code, connection failure,\n  request, lookup and URL failure; how an error prints, and its source.\n- options.rs: the options the builder refuses (no or a bad service URL,\n  TLS authentication on a plain URL, no event loops); options printing\n  without credentials; static and fetched tokens; TLS authentication from\n  PEM files; bad trust files and client certificates; hostname\n  verification off without trusted roots; a TLS 1.2 broker under relaxed\n  verification; and a mutual TLS handshake, which fails without the client\n  certificate.\n\nLine coverage goes from 84.6% to 91.9% on its own; auth.rs, config.rs and\nerror.rs have no line left uncovered.\n\n* Check the local builder\u0027s loop count too\n\ninto_config is generic over the client kind, and the coverage report counts\neach instantiation on its own: only the thread-safe one ran the check that\nrefuses zero event loops."
    },
    {
      "commit": "3d1528e50aa90422e634d6802b2e0c919e2e5a6c",
      "tree": "be26e77ea7b3df5a82eb68735588ceaefea23765",
      "parents": [
        "43a2648707b8b796e6bcc3b35292fcfc3c798b52",
        "b41ba3ef4ad32964cf85469ea3ab688f76828a2b"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 12:00:44 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 12:00:44 2026 -0800"
      },
      "message": "Merge pull request #3 from apache/wt/asf-yaml-file-a12929\n\nAdd .asf.yaml"
    },
    {
      "commit": "b41ba3ef4ad32964cf85469ea3ab688f76828a2b",
      "tree": "60dfa347bdd03d32482ab14335509e0b2bd83d47",
      "parents": [
        "8b6a122cb0fc7f11511ca5503b4349d77cb8f045"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 11:43:06 2026 -0800"
      },
      "committer": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 11:43:06 2026 -0800"
      },
      "message": "Delete head branches after merge\n"
    },
    {
      "commit": "8b6a122cb0fc7f11511ca5503b4349d77cb8f045",
      "tree": "1ba3033e9d84bc322b7123bf7e5f90dde4dbfd0e",
      "parents": [
        "1346b3fb4be5b0b90348dceb2994be0140fcd35b"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 11:40:13 2026 -0800"
      },
      "committer": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 11:40:13 2026 -0800"
      },
      "message": "Add .asf.yaml\n\nModelled on the apache/pulsar and Pulsar client repositories:\n- Repository description, homepage and topics.\n- Issues and projects on; wiki and discussions off.\n- Squash merge only; main requires linear history and resolved\n  conversations. No required reviews or status checks yet.\n- Notifications to commits@ and dev@pulsar.apache.org.\n"
    },
    {
      "commit": "43a2648707b8b796e6bcc3b35292fcfc3c798b52",
      "tree": "f18fca04fb12111738d1ea382838f86234193155",
      "parents": [
        "1346b3fb4be5b0b90348dceb2994be0140fcd35b",
        "790b350a85d6f7e61376bb750489df439937b813"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 11:32:23 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 11:32:23 2026 -0800"
      },
      "message": "Merge pull request #2 from apache/wt/code-coverage-regression-job-146151\n\nMeasure test coverage in CI, and fail a pull request when it drops"
    },
    {
      "commit": "1346b3fb4be5b0b90348dceb2994be0140fcd35b",
      "tree": "ae4f3a78c7db2b6a942f6afd80513c53f5e88514",
      "parents": [
        "825756a4d4585892e4449591c0bcb54970e99edf",
        "2f0b32136760b6de4acd2b8e3ffa96d3df49a275"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 10:48:35 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 19 10:48:35 2026 -0800"
      },
      "message": "Merge pull request #1 from apache/m1-connections\n\nM1: connections, lookup, the pool, and the local and thread-safe clients"
    },
    {
      "commit": "790b350a85d6f7e61376bb750489df439937b813",
      "tree": "8bbafb87ad54cc8336ed68cba06a1abde6ad7e2a",
      "parents": [
        "825756a4d4585892e4449591c0bcb54970e99edf"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 10:48:17 2026 -0800"
      },
      "committer": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 10:48:17 2026 -0800"
      },
      "message": "Measure test coverage in CI, and fail a pull request when it drops\n\n- .github/workflows/coverage.yml runs the default members\u0027 tests under\n  cargo-llvm-cov on a pinned compiler (1.100.0), leaving the generated\n  protobuf code out of the report, and posts the totals as a `coverage`\n  commit status.\n- A pull request is measured against the status its base commit carries\n  and fails if line coverage is lower. A base with no status skips the\n  gate, so it starts once a run on main has posted one.\n- .github/scripts/coverage-summary.py writes the per-file table and every\n  line or region no test runs to the job summary.\n- docs/8-quality.md §4 states the rule.\n"
    },
    {
      "commit": "2f0b32136760b6de4acd2b8e3ffa96d3df49a275",
      "tree": "ae4f3a78c7db2b6a942f6afd80513c53f5e88514",
      "parents": [
        "825756a4d4585892e4449591c0bcb54970e99edf"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 10:29:09 2026 -0800"
      },
      "committer": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Thu Nov 19 10:29:09 2026 -0800"
      },
      "message": "M1: connections, lookup, the pool, and the local and thread-safe clients\n\nProtocol core (sans-IO, time as an input):\n- Connection state machine: requests with deadlines, keepalive, feature-flag\n  gating for scalable-topic and TC commands, auth challenges and refresh\n  (at most 10 rounds), per-kind id allocation.\n- Lookup with redirects (up to 20 hops), the authoritative flag, and\n  connections through a proxy (logical vs physical broker address).\n- Backoff: 100 ms doubling to 60 s, with jitter.\n\nClient (compio):\n- One task per connection polls read, write, timers, its inbox and the auth\n  provider from a single future: no lock, no read dropped in flight.\n- Per-loop pool keyed by logical and physical address, coalescing concurrent\n  connects and replacing closed connections.\n- Token and mTLS authentication; TLS through rustls (ring) with a CA file or\n  platform roots, insecure and no-hostname-verification modes.\n- local::PulsarClient, and the thread-safe PulsarClient over N loop threads\n  (runtime-agnostic futures, idempotent close, loops exit on close or drop).\n  Lookup and connection are doc(hidden) public for the integration tests\n  until producers exist.\n\nTests:\n- apache-pulsar-testkit: the simulated broker, and deterministic tests of the\n  connection and lookup state machines.\n- Driver tests over loopback sockets against the simulated broker.\n- Integration tests (cargo test -p apache-pulsar --test integration) start a\n  5.0.1 broker and a proxy with testcontainers, with TLS, token and mTLS, and\n  run in a new CI job. cargo test skips them.\n\nAlso: relax the compio timer bounds that failed on macOS CI, untrack .idea/,\nmove placement and the admission counters to M2 in PLAN.md, and update the\ndocs and README.\n"
    },
    {
      "commit": "825756a4d4585892e4449591c0bcb54970e99edf",
      "tree": "3312ebb4a13a6b82e66fb9b66c9d9aed524090d2",
      "parents": [
        "13919010cd8f67ceabfe9bd52c6f386a41068edf"
      ],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Wed Nov 18 16:09:38 2026 -0800"
      },
      "committer": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Wed Nov 18 16:09:38 2026 -0800"
      },
      "message": "M0: workspace, protocol codegen, handshake, compio checks and Java vectors\n\n- Cargo workspace: apache-pulsar, apache-pulsar-protocol, apache-pulsar-testkit,\n  checks/compio-checks, checks/first-contact, xtask; LICENSE, NOTICE, CI, cargo-deny.\n- PulsarApi.proto vendored from apache/pulsar 2fe3a4d; buffa-generated code committed,\n  regenerated and checked by \u0027cargo run -p xtask -- codegen [--check]\u0027.\n- proto2 default accessors, with a test against every [default] in the proto.\n- Frame codec (both directions, CRC32C, broker entry metadata) and the sans-IO\n  CONNECT handshake; first-contact passes against apachepulsar/pulsar:5.0.1.\n- Murmur3 routing hashes, matching vectors from the Java 5.0.1 client.\n- compio checks for TLS, wakeups, timers, cancellation and DNS on io_uring,\n  epoll and kqueue; findings recorded in docs/2-architecture.md.\n- Java vector generator and golden MessageIdV5/CheckpointV5 bytes.\n"
    },
    {
      "commit": "13919010cd8f67ceabfe9bd52c6f386a41068edf",
      "tree": "a822026815bce530ebe83e8cfcc49322d21e9345",
      "parents": [],
      "author": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Wed Nov 18 15:31:55 2026 -0800"
      },
      "committer": {
        "name": "Matteo Merli",
        "email": "mmerli@apache.org",
        "time": "Wed Nov 18 15:31:55 2026 -0800"
      },
      "message": "Add the initial design and plan\n\nDESIGN.md indexes the design documents under docs/ (scope, architecture,\nprotocol core, connections, segment engine, scalable topics, public API,\nquality), records the decisions taken so far and lists the gaps found in\nthe Scalable Topics client specification. PLAN.md lays out milestones\nM0-M7.\n"
    }
  ]
}
