Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Fixed kafka source after update to eventing #1223

Merged
merged 1 commit into from
May 13, 2020

Conversation

slinkydeveloper
Copy link
Contributor

Signed-off-by: Francesco Guardiani francescoguard@gmail.com

Fixes #1209

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label May 13, 2020
@knative-prow-robot knative-prow-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 13, 2020
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: slinkydeveloper

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 13, 2020
@lberk
Copy link
Member

lberk commented May 13, 2020

/assign

@aslom
Copy link
Member

aslom commented May 13, 2020

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label May 13, 2020
@knative-prow-robot knative-prow-robot merged commit 7480cf5 into knative:master May 13, 2020
@@ -57,7 +57,7 @@ func MakeReceiveAdapter(args *ReceiveAdapterArgs) *v1.Deployment {
Name: "KAFKA_NET_TLS_ENABLE",
Value: strconv.FormatBool(args.Source.Spec.Net.TLS.Enable),
}, {
Name: "SINK_URI",
Name: "K_SINK",
Copy link
Member

@matzew matzew May 13, 2020

Choose a reason for hiding this comment

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

that is the SinkBinding feature ...

Do we no longer need the old, just the new ? or was that all changed ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can't really say why this env changed, i just switched from adapter to adapter/v2 and this happened :)

Copy link
Member

Choose a reason for hiding this comment

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

right -- just to elaborate on that, the K_SINK is a var in the adapter.EnvConfig and it gets resolved to the sink, so that's why it still properly outputs in the logging.

@slinkydeveloper slinkydeveloper deleted the fix_kafka branch May 13, 2020 13:40
@lberk
Copy link
Member

lberk commented May 13, 2020

after going through and properly reviewing/testing it
/lgtm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/test-and-release cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re enable kafka e2e tests
6 participants