Skip to content

Receive Websocket events create brook errors in other apps #239

@jessie-morris

Description

@jessie-morris

When a recieve websocket event is entered into the system, when this event arrives at other applications such as gather, persist etc, we get the included error below.

I believe this can be fixed by allowing other projects to properly reference all parts of this events struct.

11:39:40.196 [error] Unable to deserialize event: "{"author":"beacon-position-receive","create_ts":1588160379584,"data":{"connection":{"hibernate":false,"idle_timeout":1440000,"path":"/receive/ws","port":8081,"version":1,"brook_struct":"Elixir.Accept.Websocket"},"dataset_id":"beacon-position-datasetid-6","destination":{"endpoints":[["hindsight-hindsight-kafka-bootstrap",9092]],"key_path":[],"name":"beacon-position-receive","partitioner":"default","partitions":1,"version":1,"brook_struct":"Elixir.Kafka.Topic"},"id":"beacon-position-accept-id-6","subset_id":"beacon-position-subsetid-6","version":1,"brook_struct":"Elixir.Accept"},"forwarded":false,"type":"accept:start","brook_struct":"Elixir.Brook.Event"}", error reason: :invalid_struct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingeventInvolves an event or definition

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions