Skip to content

PLAT-707 Add kafka integration #1188

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

Merged
merged 30 commits into from
May 23, 2023
Merged

PLAT-707 Add kafka integration #1188

merged 30 commits into from
May 23, 2023

Conversation

nour-borgi
Copy link
Contributor

No description provided.

@nour-borgi nour-borgi marked this pull request as draft April 6, 2023 10:59
@codecov
Copy link

codecov bot commented Apr 6, 2023

Codecov Report

Merging #1188 (8f2e63c) into master (b68dce2) will increase coverage by 0.09%.
The diff coverage is 94.70%.

❗ Current head 8f2e63c differs from pull request most recent head fe1df1e. Consider uploading reports for the commit fe1df1e to get more accurate results

@@            Coverage Diff             @@
##           master    #1188      +/-   ##
==========================================
+ Coverage   86.56%   86.65%   +0.09%     
==========================================
  Files          85       87       +2     
  Lines        5806     5876      +70     
==========================================
+ Hits         5026     5092      +66     
- Misses        780      784       +4     
Impacted Files Coverage Δ
src/kafkaProducer.js 87.09% <87.09%> (ø)
src/middleware/router.js 91.87% <94.87%> (+2.53%) ⬆️
src/api/channels.js 89.47% <100.00%> (ø)
src/kafkaProducerManager.js 100.00% <100.00%> (ø)
src/model/channels.js 100.00% <100.00%> (ø)
src/protocols/openid.js 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

Copy link
Contributor

@marrouchi marrouchi left a comment

Choose a reason for hiding this comment

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

Left a couple of comments. Looks good overall

We may rename KafkaProducerSet to KafkaProducerManager.

Copy link
Contributor

@rcrichton rcrichton left a comment

Choose a reason for hiding this comment

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

Looking good on a first pass review. I've added some comments.

arran-standish and others added 20 commits April 18, 2023 11:35
…wo producers with the same clientId in different channels don't conflict.
…e folder as it is not a middleware and placed it in the root instead
…catch since parseInt does not throw but instead returns NaN if it fails to parse. Add tests to cover the new logic
@arran-standish arran-standish marked this pull request as ready for review April 26, 2023 07:57
rcrichton
rcrichton previously approved these changes May 18, 2023
Copy link
Contributor

@rcrichton rcrichton left a comment

Choose a reason for hiding this comment

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

Great work, this looks awesome.

@nour-borgi nour-borgi merged commit ee71267 into master May 23, 2023
@arran-standish arran-standish deleted the PLAT-707-kafka-integration branch June 1, 2023 07:16
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.

5 participants