The solution available on Apache ignite master branch. On Wed, Aug 31, 2016 at 11:59 AM, Vladislav Pyatkov <[email protected]> wrote:
> Hi, > I assume the issue has solved around week ago. > Lock at the ticket https://issues.apache.org/jira/browse/IGNITE-3618 > Can you check it in your case? > > On Wed, Aug 31, 2016 at 7:56 AM, hahadada <[email protected]> wrote: > >> This is what it looks like >> //declarations >> IgniteCache<Long, Event> eventCache; >> >> >> if (event.getEventId() == null) { >> throw new IllegalArgumentException("No event ID >> found for " + >> event.toString() + " unable to write to cache"); >> } >> >> boolean success = >> this.eventCache.putIfAbsent(event.getEventId(), >> event); >> >> >> //event object is pojo (interface) >> >> /** >> * Interface for event objects. >> */ >> public interface Event extends Serializable, Comparable<Event> { >> >> /* >> >> *----------------------------------------------------------- >> --------------- >> * Getters >> >> *----------------------------------------------------------- >> --------------- >> */ >> Long getEventId(); >> >> String getTriggeredByComponent(); >> >> Payload getPayload(); >> >> String getEventType(); >> >> LocalDateTime getCreatedTime(); >> >> LocalDateTime getArrivalTime(); >> >> Long getExternalId(); >> >> long[] getTriggeredByIds(); >> >> WorkflowInstance getWorkflow(); >> >> String getActionName(); >> >> /* >> >> *----------------------------------------------------------- >> --------------- >> * Setters >> >> *----------------------------------------------------------- >> --------------- >> */ >> void setEventId(long eventId); >> >> void setWorkflow(WorkflowInstance workflow); >> >> void setTriggeredByIds(long[] triggeredByIds); >> >> void setTriggeredByComponent(String component); >> >> void setActionName(String actionName); >> } >> >> >> >> >> -- >> View this message in context: http://apache-ignite-users.705 >> 18.x6.nabble.com/Can-not-find-schema-for-object-with-compact >> -footer-tp7406p7426.html >> Sent from the Apache Ignite Users mailing list archive at Nabble.com. >> > > > > -- > Vladislav Pyatkov > -- Vladislav Pyatkov
