[infinispan-issues] [JBoss JIRA] (ISPN-9635) Provide a way to receive keys and values from events

Gustavo Fernandes (Jira) issues at jboss.org
Wed Oct 24 03:26:00 EDT 2018


     [ https://issues.jboss.org/browse/ISPN-9635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gustavo Fernandes updated ISPN-9635:
------------------------------------
    Description: 
There is no proper API to receive keys and values from events without resorting to KeyValueConverters that produces custom event with ad-hoc byte[] containing keys and values together.
Both Near Cache and Spark connector need this capability and both ended up resorting to using this converter. Ideally there should be a way to receive the event with keys and values separated, this facilitates transcoding and requires less efforts in the client to consume those events.

  was:
There is no proper API to receive keys and values from events without resorting to KeyValueConverters that produces custom event with ad-hoc marshalled byte[] containing keys and values together.
Both Near Cache and Spark connector need this capability and both ended up resorting to using this converter. Ideally there should be a way to receive the event with keys and values separated, this facilitates transcoding and requires less efforts in the client to consume those events.



> Provide a way to receive keys and values from events
> ----------------------------------------------------
>
>                 Key: ISPN-9635
>                 URL: https://issues.jboss.org/browse/ISPN-9635
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Listeners
>            Reporter: Gustavo Fernandes
>            Priority: Major
>             Fix For: 10.0.0.Final
>
>
> There is no proper API to receive keys and values from events without resorting to KeyValueConverters that produces custom event with ad-hoc byte[] containing keys and values together.
> Both Near Cache and Spark connector need this capability and both ended up resorting to using this converter. Ideally there should be a way to receive the event with keys and values separated, this facilitates transcoding and requires less efforts in the client to consume those events.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list