Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • S Stream Admin Service
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe Software
  • Platform
  • Data Flow
  • Real Time
  • Streams
  • Stream Admin Service
  • Issues
  • #9

Closed
Open
Created Oct 07, 2021 by Dmitry Kniazev@dmitry-kniazevOwner0 of 8 tasks completed0/8 tasks

Processor / Messages Router

This is a simple Kafka Stream App (Java) that reads messages from Source topic and routes them (with no change) to a sink topic.

Input parameters are passed as env variables:

bootstrap.servers - list of brokers to bootstrap kafka connection
OSDU_STREAMS_SUBSCRIBEIDS - the list of message keys to monitor in the source topic and route to sink topic
OSDU_STREAMS_SOURCEBINDINGS - the list of source topics to read messages from
OSDU_STREAMS_SINKBINDINGS - the list of sink topics to write the messages to
  • On start-up extract the parameters from env variables:
    • bootstrap.servers = localhost:9092 (list of brokers to bootstrap Kafka connection)
    • OSDU_STREAMS_SUBSCRIBEIDS = "opendes:work-product-component--WellLog:be54a691c0384182944d71c6b2b6f699"
    • OSDU_STREAMS_SOURCEBINDINGS = "opendes_wks_work-product-component--WellLog_1.0.0"
    • OSDU_STREAMS_SINKBINDINGS = "opendes_myApp--WellLog_1.0.0"
  • establish connection with Kafka using bootstrap servers and topics information
  • create the topology to route messages from source topic to sink topic with no changes
  • create tests for the Kafka Streams App
Edited Oct 08, 2021 by Dmitry Kniazev
Assignee
Assign to
Time tracking