Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Processor] NUC-18 add topic property to event #3125

Merged
merged 7 commits into from
Jan 18, 2024

Conversation

rokatyy
Copy link
Contributor

@rokatyy rokatyy commented Jan 16, 2024

Stream triggers use event.path as the topic name.
This causes some confusion for users, so adding a specific topic property to the event object.

SDK part: nuclio/nuclio-sdk-py#61
Jira - https://jira.iguazeng.com/browse/NUC-18

Copy link
Contributor

@TomerShor TomerShor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can also implement that for v3iostream event
(pkg/processor/trigger/v3iostream/event.go)

In v3io, the topic is the StreamPath available on the claim.
We will need to populate the v3iostream.Event struct with the stream path as well, and return it in the GetTopic method.

pkg/processor/cloudevent/binary.go Outdated Show resolved Hide resolved
pkg/processor/cloudevent/structured.go Outdated Show resolved Hide resolved
@TomerShor TomerShor merged commit 01389a9 into nuclio:development Jan 18, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants