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

Integrate MetadataSerDe from Accumulo Recipes into Mango #165

Open
cjnolet opened this issue Mar 5, 2015 · 2 comments
Open

Integrate MetadataSerDe from Accumulo Recipes into Mango #165

cjnolet opened this issue Mar 5, 2015 · 2 comments

Comments

@cjnolet
Copy link
Member

cjnolet commented Mar 5, 2015

This is something that was created for serializing Map<String,String> into a series of bytes and back to a map again. It was implemented as a strategy pattern so different (faster) implementations could always be written at a later time.

While this has been extremely useful for Accumulo Recipes, there are folks who want to use it on projects like Kafka to serialize metadata for the message keys. I would like it if we could integrate that here so they don't need to pull in Accumulo dependencies to make that possible.

@eawagner
Copy link
Member

eawagner commented Mar 6, 2015

If we do this, I would like to make something not tied to simply metadata (I mean use a different name), but possibly for defining serialization strategies for complex objects in general. For instance, a List, or Map<Integer, String> to extend the current need for Map<String, String> being used. To be clear, I don't want to implement SerDe's for all data structures, just come up with an API that facilitates that. Similar to how the TypeEncoders can be customized.

I guess this would live in the serialize package?

Also can we make sure all work on this is done via a pull request. This way we can merge it in fully when its ready.

@cjnolet
Copy link
Member Author

cjnolet commented Mar 6, 2015

Yes, new stuff like this should certainly be done in a pull request.

On Thu, Mar 5, 2015 at 10:46 PM, eawagner [email protected] wrote:

If we do this, I would like to make something not tied to simply metadata
(I mean use a different name), but possibly for defining serialization
strategies for complex objects in general. For instance, a List, or Map to
extend the current need for Map being used. To be clear, I don't want to
implement SerDe's for all data structures, just come up with an API that
facilitates that. Similar to how the TypeEncoders can be customized.

I guess this would live in the serialize package?

Also can we make sure all work on this is done via a pull request. This
way we can merge it in fully when its ready.


Reply to this email directly or view it on GitHub
#165 (comment).

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

No branches or pull requests

2 participants