Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • I Image Suggestions Feedback
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • repos
  • generated-data-platform
  • topics
  • Image Suggestions Feedback
  • Merge requests
  • !1

First attempt at YAML file

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Luke Bowmaker requested to merge dev into main Apr 05, 2022
  • Overview 24
  • Commits 7
  • Pipelines 0
  • Changes 1

First attempt at writing a YAML file to create a new Kafka topic for image suggestions feedback, following these instructions

The schema is based off the Cassandra schema here

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):

{
  "$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, any help would be appreciated

Edited Apr 05, 2022 by Luke Bowmaker
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dev