-
Notifications
You must be signed in to change notification settings - Fork 590
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
bug: 'primary_key' is allowed by sink types other than 'upsert' #9443
Comments
This issue has been open for 60 days with no activity. Could you please update the status? Feel free to continue discussion or close as not planned. |
This bug still persists in the current version. Could you help with the fix? @jetjinser |
As far as I can tell from digging into the actual code implementation, there are 4 possible states of
@neverchanje @tabVersion Could you help clarify what should we do in each cases? |
Here are my thoughts.
Overall, we are going to require
Not true, Kafka will use Round Robin for these messages and I don't think there is data skew. |
Kafka would use Round Robin when key is unset. But our current implementation always sets key = |
OMG, that's a bug indeed. |
Seems to be a misunderstanding because #9768 was not done. |
In that case, the user should use the Overall, I think when the mode is |
Let's follow this?
|
Seems nothing else to do |
Describe the bug
To Reproduce
As above.
Expected behavior
We should only allow
primary_key
whenupsert
is enabled.Additional context
No response
The text was updated successfully, but these errors were encountered: