Skip to content

docs: correct maxPacketSizeBytes type in migration table - #343

Open
dajiaohuang wants to merge 1 commit into
DataDog:masterfrom
dajiaohuang:docs/migration-packet-size-20261016
Open

dajiaohuang wants to merge 1 commit into
DataDog:masterfrom
dajiaohuang:docs/migration-packet-size-20261016

Conversation

@dajiaohuang

Copy link
Copy Markdown

The 2.x-to-3.x migration table lists maxPacketSizeBytes(String... val), but the builder accepts an int. Passing a string as documented fails compilation (String cannot be converted to int), including against the README-recommended 4.4.5 artifact. Change only that parameter type to int, matching the old constructor parameter and the builder API.

Validation: compiled a minimal builder call against 4.4.5 with JDK 17; the documented string argument fails and the integer argument passes. Main/test compilation and 8 selected Event/Message/UTF-8 tests pass on master. Additional bounded public-API checks passed with synthetic payloads sent only to an owned loopback UDP receiver, with origin detection and telemetry disabled. Full transport/CI matrix and real Agent ingestion were not run.

@dajiaohuang
dajiaohuang requested a review from a team as a code owner October 16, 2026 05:56
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T05:57:24.169031Z 408e785 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@vickenty vickenty left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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.

2 participants