You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Joker-5 (via GitHub)" <gi...@apache.org> on 2024/03/26 09:30:32 UTC
[PR] KAFKA-16423: Stop emitting warning log message when parsing source connector with null connector name [kafka]
Joker-5 opened a new pull request, #15602:
URL: https://github.com/apache/kafka/pull/15602
This is a pretty lightweight change; we wrap the warning log message for unrecognized source partition types in a null guard.
One test is added to verify the fix that ensures no log messages are emitted in the affected scenario.
### Committer Checklist (excluded from commit message)
- [ ] Verify design and implementation
- [ ] Verify test coverage and CI build status
- [ ] Verify documentation (including upgrade notes)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-16423: Stop emitting warning log message when parsing source connector with null connector name [kafka]
Posted by "C0urante (via GitHub)" <gi...@apache.org>.
C0urante commented on PR #15602:
URL: https://github.com/apache/kafka/pull/15602#issuecomment-2020337350
Ah, I did miss that. But still, the description is clearly copy+pasted from mine. It also doesn't really make sense to make this change since null source partitions are valid but null connector names would be a highly irregular case that warrants a warning message.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-16423: Stop emitting warning log message when parsing source connector with null connector name [kafka]
Posted by "Joker-5 (via GitHub)" <gi...@apache.org>.
Joker-5 commented on PR #15602:
URL: https://github.com/apache/kafka/pull/15602#issuecomment-2020351772
> Ah, I did miss that. But still, the description is clearly copy+pasted from mine. It also doesn't really make sense to make this change since null source partitions are valid but null connector names would be a highly irregular case that warrants a warning message.
Got it, since I think we maybe need to do some defensive programmings, that's why I created this pr.
Thanks very much for your reply😊.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-16423: Stop emitting warning log message when parsing source connector with null connector name [kafka]
Posted by "C0urante (via GitHub)" <gi...@apache.org>.
C0urante closed pull request #15602: KAFKA-16423: Stop emitting warning log message when parsing source connector with null connector name
URL: https://github.com/apache/kafka/pull/15602
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-16423: Stop emitting warning log message when parsing source connector with null connector name [kafka]
Posted by "Joker-5 (via GitHub)" <gi...@apache.org>.
Joker-5 commented on PR #15602:
URL: https://github.com/apache/kafka/pull/15602#issuecomment-2020330799
> This PR is a complete duplicate of #15562, which has already been merged and backported.
>
> @Joker-5 Is this meant to test some kind of automated script or something? Or maybe this was supposed to target a fork? It's a little strange to see my work copied like this.
hi @C0urante, this pr is different to [yours](https://github.com/apache/kafka/pull/15562). Because KAFKA-16392 add the 「partition」 case, while this pr add the 「connectorName」 case.
If you have any questions, feel free to ask me.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-16423: Stop emitting warning log message when parsing source connector with null connector name [kafka]
Posted by "C0urante (via GitHub)" <gi...@apache.org>.
C0urante commented on PR #15602:
URL: https://github.com/apache/kafka/pull/15602#issuecomment-2020262821
This PR is a complete duplicate of https://github.com/apache/kafka/pull/15562, which has already been merged and backported.
@Joker-5 Is this meant to test some kind of automated script or something? It's a little strange to see my work copied like this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org