Image Suggestions Feedback merge requestshttps://gitlab.wikimedia.org/repos/generated-data-platform/topics/image-suggestions-feedback/-/merge_requests2023-01-30T20:39:00Zhttps://gitlab.wikimedia.org/repos/generated-data-platform/topics/image-suggestions-feedback/-/merge_requests/1First attempt at YAML file2023-01-30T20:39:00ZLuke BowmakerFirst attempt at YAML fileFirst attempt at writing a YAML file to create a new Kafka topic for image suggestions feedback, following these [instructions](https://wikitech.wikimedia.org/wiki/Event_Platform/Instrumentation_How_To)
The schema is based off the Cassa...First attempt at writing a YAML file to create a new Kafka topic for image suggestions feedback, following these [instructions](https://wikitech.wikimedia.org/wiki/Event_Platform/Instrumentation_How_To)
The schema is based off the Cassandra schema [here](https://gitlab.wikimedia.org/repos/generated-data-platform/datasets/image-suggestions/-/blob/main/cassandra_schema.cql#L19)
My understanding is that teams could use EventGate to write the following message to the schema (the meta part of the schema is taken care of by EventGate):
```json
{
"$schema": "/generated-data/image-suggestions/feedback-create/1.0.0",
"wiki": "en",
"page_id": 1234,
"image": "something.jpg",
"id": ???,
"origin_wiki": "commons",
"performer": "User_A",
"accepted": false,
"rejected": true,
"dt": "2022-04-05T05:00:00.0Z",
"comment": "Bad image"
}
```
I am a little unsure of how to support this [field](https://gitlab.wikimedia.org/repos/generated-data-platform/datasets/image-suggestions/-/blob/main/cassandra_schema.cql#L23), any help would be appreciated