googleapis / googleapis/google-cloudevents-java
Add support for Pub/Sub
- Dominant language
- Java
- Stars
- 22
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
## Current Behavior
Pub/Sub messages are incompatible with protojson parsing. This is because Pub/Sub messages include duplicate fields `message_id`/`messageId`, and `publish_time`/`publishTime`, which the protobuf spec indicates is invalid.
Note: parsing can also error on the "@type" field
## Expected Behavior
Tooling that allows for parsing of duplicated fields.
Contributor guide
Research direction
Start by locating the Java protojson parsing path and the Pub/Sub CloudEvent message definitions; the issue names no files or tests. Reproduce parsing with duplicate message_id/messageId and publish_time/publishTime fields, then check the @type case. Done means the tooling accepts these Pub/Sub messages without parsing errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100