pathwaycom / pathwaycom/pathway

Elastic to Click-house data transfer - Real-Time Data Ingestion

Open
#101 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
62.3k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

We have an Elastic DB where data flows in from different sources. This data contains an incremental field called timestamp, which keeps track of when the data was inserted into the database.
Our problem consists of two parts:

Bulk Data Transfer: This involves transferring old data as a one-time exercise, which we will handle on our end.

Real-Time Data Ingestion: We need Pathway to continuously send a query based on the incremental timestamp field to pull data from Elastic (e.g., data that is 5 seconds old) and ingest it into our Click-House database via Pathway.

To ensure no data is missed or duplicated, the query must be sent every 5 seconds to retrieve the most recent 5 seconds of data.
In case a large volume of data gets inserted within a short period (e.g., in the last 5 seconds), we may need to implement pagination to handle the data efficiently.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Begin by locating the existing Elasticsearch and ClickHouse integration points, then determine how incremental timestamps, five-second polling, deduplication, and pagination are handled. Done means reliable real-time transfer without missed or duplicated records.

Written by the indexing model from the issue text.

Assessment

Tech stack
clickhouse, elasticsearch, python
Domain
data-engineering, databases, stream-processing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.