Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
unomi-1.5.7
-
None
-
None
Description
While testing kafka integration with unomi using KafkaInjector plugin, we found that the event that is read from kafka, is processed differently compared to normal workflow. In normal workflow (using cxs/eventcollector) a temporary profile is created and then if there are any rules the profiles are also merged. But in KafkaInjector plugin, the event is sent and it is not even saved, since it is missing the profile.
I just used a simple event body in kafka.
{ "eventType":"mergeProfiles", "itemId": "email", "scope":"new", "properties" : { "firstName" : "John", "lastName" : "Smith", "email":"john.smith@acme.com" } }
Is this a bug or am I giving the wrong input? For comparison of normal workflow, I checked the code EventsCollectorEndpoint class in org.apache.unomi.rest.endpoints package. Here doEvent method gets executed which does more than what is implemented in KafkaInjector plugin.
Attachments
Issue Links
- relates to
-
UNOMI-765 Deprecate Kafka integration
- Open