Skip to content

M7, release part 4: the release statement - #42

Merged
merlimat merged 2 commits into
mainfrom
m7-release-notes
Nov 23, 2026
Merged

merlimat merged 2 commits into
mainfrom
m7-release-notes

Conversation

@merlimat

@merlimat merlimat commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Part 4 of the first release's preparation (PLAN.md, M7). docs/8-quality.md §3 has each release state the version of the Scalable Topics client specification it conforms to, and which optional capabilities it implements. This states it for the code, in the README, and says where each release states it: in its release notes, on GitHub releases.

Change

  • The README, for the code on main: a Conformance section. The status line no longer says "milestones 3 to 5", and it names the schemas.
  • docs/8-quality.md §3 says where the statement lives: each release's notes on GitHub releases, and the README's Conformance section for the current code.
  • DESIGN.md, gap 31: conformance §3 groups chunking, compression and custom batching as one optional capability, while §1 makes a capability implemented in part non-conformant.

The release notes live on GitHub releases, so there's no CHANGELOG.md: #47 points RELEASE.md and the crate's README there. The draft notes for 0.1.0 are below, ready for the GitHub release.

The statement

Version 1.0 of the specification, with the required core C1–C15. Of the seven optional capabilities:

  • implemented: producer-side entry-bucketing, the migration bridge, and compression;
  • not implemented: transactions, namespace subscriptions, dead-letter, end-to-end encryption, chunking and custom batching.

Before merging

The README claims C1–C15, so merge this after the conformance suite and its checklist (#45, tests/conformance/README.md) confirm them.

Draft notes for the 0.1.0 GitHub release

The first release of the Rust client of Apache Pulsar, for the scalable topics of Pulsar 5.0 and later: the apache-pulsar crate, and apache-pulsar-protocol, its protocol core, which isn't a stable API.

Conformance

Conforms to version 1.0 of the Scalable Topics client specification. It implements the required core, C1 to C15 (conformance §2), and these of the optional capabilities (§3):

Capability In 0.1.0
Entry-bucketing, producer side Yes: each batch holds one entry bucket's messages, and each entry is stamped with its bucket hashes.
Migration bridge Yes: persistent:// topics, partitioned or not, and short topic names.
Chunking, compression, custom batching Compression: LZ4, ZLIB, ZSTD and Snappy. No chunking, and no custom batching.
Transactions No.
Namespace subscription No.
Dead-letter No.
End-to-end encryption No.

What it has

  • Producers: each key routed to the segment that covers it, and its order kept across splits and merges; deduplication by sequence id; the shared, exclusive, exclusive-with-fencing and wait-for-exclusive access modes; flush and close; a client memory limit; batches by entry bucket, as Java V5's BatchingPolicy sets them; and compression.
  • Queue consumers: every segment of a topic, kept in step with its layout; individual and negative acks, and redelivery.
  • Stream consumers: the segments the topic's controller assigns, each key in order; cumulative acks across segments; segments shared by entry bucket when the consumers outnumber them.
  • Checkpoint consumers: every segment, parents before their children, or a group's share of them; checkpoints the application keeps and restores across layout changes.
  • Message ids and checkpoints in the Java V5 client's bytes, so that they move between the two clients.
  • Schemas, named and encoded as Java's: bytes, string, the primitive types, key/value, JSON, Avro, Protobuf (PROTOBUF_NATIVE and Java V5's PROTOBUF), and generic records, each message decoded with the schema of its version. A schema the topic refuses fails with IncompatibleSchema.
  • Regular topics through the migration bridge, with the v4 key-to-partition routing, before, during and after a topic's migration.
  • Connections: TLS, token and mTLS authentication, lookups with redirects, proxies, keepalive, and reconnection with backoff.
  • Three APIs: thread-safe, whose futures run on any runtime; local, on the application's own compio loop; and blocking.

Requirements

  • Apache Pulsar 5.0 or later: the client talks only to brokers that advertise scalable topics.
  • Rust 1.95 or later.
  • Linux, on io_uring where the kernel allows it and on the polling driver otherwise, and macOS. Windows builds, but isn't tested yet.

Known limitations

  • Key/value has Java's inline encoding only. The separated one, with the key in the message's key, comes later.
  • Java V5's autoProduceBytes() and generic(SchemaInfo) aren't implemented.
  • Neither this client nor Java's reads a PROTOBUF schema's messages as generic records (DESIGN.md, J22).
  • A Stream consumer, or a member of a Checkpoint consumer group, can't use a regular topic before the topic migrates: the 5.0.1 broker's controller doesn't serve one (DESIGN.md, gap 28 and J18).
  • No metrics yet. Logs go through tracing.
  • Not in this release: OAuth2 authentication, the dead-letter policy, namespace subscriptions, transactions, end-to-end encryption and chunking (PLAN.md, after the first release).

CHANGELOG.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.
The release notes live on GitHub releases, so CHANGELOG.md goes. The README's 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's description.
@merlimat merlimat changed the title M7, release part 4: the release statement, and draft 0.1.0 notes M7, release part 4: the release statement Nov 23, 2026
@merlimat
merlimat merged commit da85763 into main Nov 23, 2026
14 checks passed
@merlimat
merlimat deleted the m7-release-notes branch November 23, 2026 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant