Skip to content

Commit

Permalink
"message" can be either a string or an object, update schema to reflect
Browse files Browse the repository at this point in the history
that.
  • Loading branch information
Kami committed May 10, 2019
1 parent a1e397e commit 672c302
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion sensors/gcp_message_sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ trigger_types:
type: string
message:
description: "Captured message. JSON-serialized messages are automatically parsed. payload.message is base64 decoded"
type: object
type:
- string
- object
partition:
description: "Topic partition number message belongs to"
type: integer
Expand Down
4 changes: 3 additions & 1 deletion sensors/message_sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ trigger_types:
type: string
message:
description: "Captured message. JSON-serialized messages are automatically parsed"
type: object
type:
- string
- object
partition:
description: "Topic partition number message belongs to"
type: integer
Expand Down

0 comments on commit 672c302

Please sign in to comment.