-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
fix: improve kafka bindings #678
Conversation
src/adapters/kafka/index.ts
Outdated
) | ||
const userAndPasswordSecurityReq = securityRequirements.find( | ||
(sec) => sec.type() === 'userPassword' | ||
(sec) => sec.type === 'userPassword' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oviecodes what do you think about extracting these constants inside an enum? then reference it here as something like SECURITY_TYPE.USER_PASSWORD
or SECURITY_TYPE.SCRAM_SHA_512
🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alright @KhudaDad414 .
@oviecodes the branch has some conflicts. |
b9f9d84
to
1d2a50f
Compare
Quality Gate passedIssues Measures |
Pull Request Test Coverage Report for Build 9096781342Details
💛 - Coveralls |
@oviecodes you have a lot of conflicts, do you need any help? |
I'll fix it @Souvikns , I've been a little occupied lately. |
@oviecodes This PR needs a little love, if you have the time of course. |
I'll fix this @KhudaDad414 ... |
Quality Gate passedIssues Measures |
@KhudaDad414 could you check this out, so I can continue with the main issue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you revert the changes to the docs? since this PR is about KAFKA bindings I don't think it's appropriate for it to include any other changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this PR is old, I had to merge it with the current master branch, so there isn't any change that's not already on the master branch ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oviecodes
If Diff shows there are, then there are changes that this PR is proposing.
for example. master doesn't have this file: docs/pages/glee-template.md
since it was removed by a previous PR.
but you are adding it again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh Damn, I'm just pulling from the master branch. I'll try updating from master again, if it doesn't work then I'll scrap this PR, it seems it's too old and things are getting a bit more complicated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oviecodes yep. I think the problem is that you are pulling from your fork's master instead of this repo's master. happened to me multiple times. 😆
@KhudaDad414 I'll open another pull request, I'll close this one |
Description
This PR contains a fix for the Kafka adapter. The Kafka adapter should now start properly and run well.
Kindly have a look @Souvikns @KhudaDad414 , we also need to discuss about the
setUpReplyMiddlewares
in thesrc/index.js
file.Related issue(s)
Fixes #673