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

A pack of small Knative improvements #678

Merged
merged 7 commits into from
May 23, 2019

Conversation

nicolaferraro
Copy link
Member

Fix #663
Fix #668
Fix #669

Subscription to multiple channels works as long as the message travels only one channel. Should be fixed when we solve apache/camel-k-runtime#69.

@@ -101,6 +106,11 @@ func (t *knativeTrait) Configure(e *Environment) (bool, error) {

t.EndpointSinks = strings.Join(items, ",")
}
if t.FilterSourceChannels == nil && len(strings.Split(t.ChannelSources, ",")) > 1 {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should be an or because in case FilterSourceChannels is false but the number of sources is greater than two, then each from would receive a message for every subscribed channel

@nicolaferraro
Copy link
Member Author

Should be fixed @lburgazzoli

@lburgazzoli
Copy link
Contributor

@nicolaferraro there's a conflict

@nicolaferraro nicolaferraro force-pushed the knative-improvements branch from 582e286 to ccb26dc Compare May 23, 2019 07:51
@nicolaferraro
Copy link
Member Author

Resolved

@lburgazzoli lburgazzoli merged commit 0572195 into apache:master May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants