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

Blog Post for PR: Prototype a MQTT Source #7919 #6062

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ctmphuongg
Copy link
Contributor

Add description of the problem this PR on MQTT Source in Knative Eventing #7919

Copy link

knative-prow bot commented Jul 22, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ctmphuongg
Once this PR has been reviewed and has the lgtm label, please assign aliok for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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 knative-prow bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 22, 2024
@knative-prow knative-prow bot requested review from Leo6Leo and nainaz July 22, 2024 02:49
Copy link

netlify bot commented Jul 22, 2024

Deploy Preview for knative ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 0592e21
🔍 Latest deploy log https://app.netlify.com/sites/knative/deploys/66a6b754873076000840aef8
😎 Deploy Preview https://deploy-preview-6062--knative.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Leo6Leo
Copy link
Member

Leo6Leo commented Jul 23, 2024

Thank you @ctmphuongg for composing up a blog post about the MQTT source!

/cc @Cali0707 @pierDipi @matzew

Copy link
Member

@Cali0707 Cali0707 left a comment

Choose a reason for hiding this comment

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

I like the start @ctmphuongg !

But, I think we should be pointing at the released container images for the mqtt source instead of using ko to deploy it here (as that is really more for local development)

Unfortunately I can't seem to find the released container images in the knative-nightly images, not sure if @pierDipi knows how to get those included there...

blog/config/nav.yml Outdated Show resolved Hide resolved
blog/docs/articles/introduce-mqtt-source.md Outdated Show resolved Hide resolved
blog/docs/articles/introduce-mqtt-source.md Outdated Show resolved Hide resolved
Comment on lines +59 to +63
We will first need to build the Container Source using command:

```shell
ko build cmd/mqttsource/main.go
```
Copy link
Member

Choose a reason for hiding this comment

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

Here, instead of using a local dev command, can we point users to a released image?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just resolved the other comments! However, I'm not too sure how I can get the released image here...

Copy link
Member

Choose a reason for hiding this comment

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

@pierDipi @Leo6Leo any ideas on how to get a nightly image for this?

Copy link
Member

Choose a reason for hiding this comment

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

https://github.com/knative/docs/blob/main/.github/workflows/knative-docs-image.yaml

We use the GitHub action to build and publish the image to Knative's release image registry.

Copy link
Member

@Cali0707 Cali0707 Jul 29, 2024

Choose a reason for hiding this comment

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

@Leo6Leo we need it in eventing, not docs sadly...

Would you be interested in looking into getting the job in eventing to build+publish the mqtt source image?

Copy link
Member

@pierDipi pierDipi Aug 22, 2024

Choose a reason for hiding this comment

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

To get the image built and released we need to add mqttsource to the list here (in Eventing) https://github.com/knative/eventing/blob/e4b6d6861c5b6b3696ec8d9ab82ec73e04e0a781/hack/generate-yamls.sh#L57

template:
spec:
containers:
- image: ko://knative.dev/eventing/cmd/mqttsource
Copy link
Member

Choose a reason for hiding this comment

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

Same here, instead of using the ko image url, can we point them to an actual registry url?

@knative-prow-robot knative-prow-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 28, 2024
@knative-prow-robot
Copy link
Contributor

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@knative-prow knative-prow bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants