Skip to content

Commit

Permalink
CORE-18495 Made topic field in ExternalEvent.avsc optional; defaults …
Browse files Browse the repository at this point in the history
…to null (#1357)

Now that some external events are send over HTTP RPC rather than the Kafka message bus, we're making the `topic` field in the ExternalEvent AVRO object optional so it need not be set for HTTP-based communications.
  • Loading branch information
ben-millar authored Nov 22, 2023
1 parent 4dfdabe commit 3c09b7b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"fields": [
{
"name": "topic",
"type": "string",
"doc": "The topic that the external event is sent to."
"type": ["null", "string"],
"doc": "The topic that the external event is sent to.",
"default": null
},
{
"name": "key",
Expand Down

0 comments on commit 3c09b7b

Please sign in to comment.