Skip to content

Kafka consumer setup #36

Description

@SrishtiSaurav22
  1. Write kafka_consumer.py as a standalone script
  2. It listens to the 'book-updates' topic continuously
  3. When it receives an event, it updates OpenSearch using your existing opensearch.py client
  4. Run this script in a separate terminal window, kept running alongside your FastAPI server

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions