Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • twitter twitter
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MemriMemri
  • plugins
  • twittertwitter
  • Merge requests
  • !32

Draft: Twitter v2

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Aziz Berkay Yesilyurt requested to merge aziz/tv2 into dev Dec 14, 2022
  • Overview 0
  • Commits 8
  • Pipelines 4
  • Changes 23

There are 1000 lines added 500 lines removed, but reviewing this MR hopefully still be straighforward.

I split the plugin into 4 main components. In the order of data flow: TweepyProducer, Plugin, PodQueue and ItemConsumer.

In summary, this is what they do:

  • TweepyProducer spits out tweets, accounts and related media
  • Plugin creates PodUpdate items out of the above mentioned objects and places them on the queue (PodQueue)
  • A PodUpdate consists of create_items, create_edges and update_items, just like before.
  • ItemConsumer takes 50 or less PodUpdates at a time and puts them into pod.
  • PodQueue is a priority queue and it prioritizes Tweets over everything else, then Accounts, then the rest in FIFO manner.

Remaining tasks:

  • Port CI tests to v2
  • Sending progress updates
  • Update README with how to do authentication for development
  • Integrate with FE (implement Oauth2 flow, see cli/main.py)
Edited Dec 14, 2022 by Aziz Berkay Yesilyurt
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: aziz/tv2