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

Revisit PR 218 to see if partitionkey extension is still needed #430

Closed
duglin opened this issue May 10, 2019 · 5 comments
Closed

Revisit PR 218 to see if partitionkey extension is still needed #430

duglin opened this issue May 10, 2019 · 5 comments

Comments

@duglin
Copy link
Collaborator

duglin commented May 10, 2019

See: #218

Once the Kafka transport PR ( #337 ) is resolved revisit the decision to add the partitionkey extension - it might not actually be needed, and if not the group should consider removing it per the discussion in #218.

@bluemonk3y
Copy link

I have seen cases where the partitionKey information is not part of the payload and cases where it is. I can also see a case where a partitionKey might be augmented with a partitionKeyExtractor function; to rewrite the partitionKey or even replace it to allow for data-stream collocation or data distribution purposes.

Pros and Cons when removing the partitionKey.

Pros:

  1. Potentially pushes down transport concerns during Cloud Event generation where key extraction will work without payload modification
  2. Reduces the number of Cloud Event spec attributes

Cons:

  1. Potentially force the producer to be aware of transport concerns (i.e. when embedding the partition key data)
  2. Potential overhead and secure-key access where a secured data payload is concerned

@duglin
Copy link
Collaborator Author

duglin commented Jun 8, 2019

@hschaffner ^^^

@clemensv
Copy link
Contributor

clemensv commented Jul 2, 2019

Can we close this?

@duglin
Copy link
Collaborator Author

duglin commented Jul 2, 2019

based on what @hschaffner said on the previous call, yes I think we can. Heinz let me know if I'm remembering incorrectly.

@duglin duglin closed this as completed Jul 2, 2019
@hschaffner
Copy link

hschaffner commented Jul 2, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants