Skip to content

[FEATURE REQ] Define the public server-sent event representation #50415

Description

Is your feature request related to a problem? Please describe.
Java SDKs need a consistent decision on whether SSE operations expose protocol metadata or only service event models. This is a child of #50264.

Describe the solution you'd like
Choose between ServerSentEvent<T> and direct service event models, and define the public contract.

Acceptance criteria:

  • Defines whether id, event, data, comments, and retry values are exposed.
  • Distinguishes a value container from parser defaults, validation, reconnection, and retry policy.
  • Includes API documentation and contract tests for the selected representation.

Describe alternatives you've considered
#50081 proposes ServerSentEvent<T>. Search can instead expose its generated event model directly when protocol metadata is not actionable.

Additional context
Parent: #50264
Proposal: #50081

Information Checklist

  • Description Added
  • Expected solution specified

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions