EventStore / EventStoreDB-Client-Java

Official Asynchronous Java 8+ Client Library for EventStoreDB 20.6+
https://eventstore.com
Apache License 2.0
63 stars 20 forks source link

eventType: "$>" when subscribing to projections #166

Closed guiwoda-inviu closed 2 years ago

guiwoda-inviu commented 2 years ago

Using EventStoreDBPersistentSubscriptionsClient#subscribe or EventStoreDBClient#subscribeToStream pointing to an event type projection ($et-com.example.SomeEvent) is rendering the following result.

streamId = "$et-com.example.SomeEvent"
streamRevision = {StreamRevision@9919} "0"
eventId = {UUID@9920} "0336fb99-09fa-4c06-89ec-1e39f78b4bb8"
eventType = "$>"
eventData = {byte[23]@9922} [...]
created = {Instant@9924} "2022-07-26T21:49:37.141969800Z"
position = {Position@9925} "18446744073709551615/18446744073709551615"
contentType = "application/octet-stream"

Any ideas?

YoEight commented 2 years ago

You need to enable link resolution when reading events emitted by projections: https://developers.eventstore.com/clients/grpc/reading-events.html#resolvelinktos

May I advise you to reach out on Discuss first? We prefer to restrict Github for confirmed issues.