• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mostafa / xk6-kafka / 25072154492
79%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2026 07:16PM UTC
Jobs 1
Files 25
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Apr 2026 07:03PM UTC coverage: 79.643% (-0.2%) from 79.8%
25072154492

push

github

web-flow
Add v2 protobuf serde support and docs (#389)

* feat(kafka): add dynamic protobuf serde runtime for v2

Implement SCHEMA_TYPE_PROTOBUF support across serialize/deserialize using protobuf v2 reflection and dynamic messages, including object/bytes modes, message index framing, and protobuf-specific metadata fields for schema resolution.

* test(kafka): add protobuf serde coverage for v2 flows

Cover protobuf object and bytes mode round-trips, standalone dependency resolution, and protobuf subject naming behavior to lock in the new serde runtime behavior.

* docs(v2): add protobuf example and sync generated API docs

Document protobuf support in supported features, add a schema-registry protobuf script, and regenerate v2 API docs/declarations to reflect new Schema and Container protobuf fields.

* Prettier

* style(kafka): resolve protobuf lint and formatting issues

Apply golangci-lint-driven cleanups in protobuf serde and related schema files, including modernized loops/maps usage and gofmt formatting for a clean lint pass.

* test(kafka): raise coverage for protobuf serde paths

Add focused protobuf and deserialize branch tests to recover package coverage after v2 protobuf serde support, including runtime error paths and schema-less decode flows.

* fix(kafka): accept plain string payloads in compat produce

Decode producer message key/value strings as raw bytes in the compatibility path instead of JSON base64 semantics, and cover it in compatibility tests to keep v2 smoke scripts passing.

357 of 471 new or added lines in 4 files covered. (75.8%)

4 existing lines in 2 files now uncovered.

3619 of 4544 relevant lines covered (79.64%)

30.39 hits per line

Uncovered Changes

Lines Coverage ∆ File
86
78.97
pkg/kafka/protobuf.go
24
60.12
-6.3% pkg/kafka/writer.go
3
74.59
0.19% pkg/kafka/schema_registry.go
1
71.67
7.38% pkg/kafka/serdes.go

Coverage Regressions

Lines Coverage ∆ File
2
73.57
-1.43% pkg/kafka/producer.go
2
71.67
7.38% pkg/kafka/serdes.go
Jobs
ID Job ID Ran Files Coverage
1 25072154492.1 28 Apr 2026 07:16PM UTC 25
79.64
GitHub Action Run
Source Files on build 25072154492
  • Tree
  • List 25
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8b922422 on github
  • Prev Build on main (#25058474144)
  • Next Build on main (#25287150581)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc