Skip to content

Telemetry injection forces event data content type to JSON #280

@andersflemmen

Description

@andersflemmen

When upgrading the client from version 5.3.0 to 5.4.0, we ran into problems where the system projections were not picking up any events. After some digging, we noticed our Protobuf events were being interpreted as JSON.

Looks like the problem is caused by this line, which seems to ignore the current format of the event data and just forces it to JSON:
https://github.com/EventStore/EventStoreDB-Client-Java/blob/a7158994d0e37d7d7c4dca5b63ff49a17b01c3bd/db-client-java/src/main/java/com/eventstore/dbclient/ClientTelemetry.java#L34

Should this take the current content type into consideration, or am I missing something?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions