Pinot Version | 1.0.0 |
---|---|
Code | startreedata/pinot-recipes/partial-upserts |
meetup_rsvp
Kafka topicmeetup_rsvp
topic in Kafka to record the RSVPs.
event_id
column is appointed as the primary key, which is mandatory for upserts in Pinot.
rsvp_count
, group_name
, and venue_name
. Hence, the mode
is set to PARTIAL
.
APPEND
strategy, you must make sure that the corresponding column can accept multiple values, by specifying the following config:event_id
values, rsvp_count
will be incremented.
The name of the group will added to the group_name
column, if not exists.
Also, the venue will be appended to the venue_name
.
You can create the table and schema by running the following command:`
meetup_rsvp
Kafka topic.
meetup_rsvp
table or copy/paste the following query: