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

[KafkaHub] Update publisher sample code with ability to provide payload as an env-variable #906

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

ayeshLK
Copy link
Member

@ayeshLK ayeshLK commented Dec 20, 2023

Purpose

$subject

Examples

  • Usage:
docker run --rm --network host --name websub-publisher -e TOPIC_NAME="sample-topic" -e PAYLOAD='{"itemName":"Panasonic Trimmer","itemCode":"ITM30030","previousPrice":5000.00,"newPrice":4500.00,"currencyCode":"SEK"}' ayeshalmeida/wbsbpublisher:3.0.0

Checklist

  • Linked to an issue
  • Updated the changelog
  • Added tests
  • Updated the spec
  • Checked native-image compatibility

Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

codecov bot commented Dec 20, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8c5d909) 89.03% compared to head (d604dad) 89.03%.
Report is 7 commits behind head on kafkahub-mtls.

Additional details and impacted files
@@               Coverage Diff                @@
##             kafkahub-mtls     #906   +/-   ##
================================================
  Coverage            89.03%   89.03%           
  Complexity              37       37           
================================================
  Files                   15       15           
  Lines                  830      830           
  Branches               448      448           
================================================
  Hits                   739      739           
  Misses                  87       87           
  Partials                 4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ayeshLK ayeshLK merged commit b52e114 into ballerina-platform:kafkahub-mtls Dec 20, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants