Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Pull-based ingestion source APIs #16927

Open
yupeng9 opened this issue Dec 31, 2024 · 1 comment · May be fixed by #16958
Open

[Feature Request] Pull-based ingestion source APIs #16927

yupeng9 opened this issue Dec 31, 2024 · 1 comment · May be fixed by #16958
Labels
enhancement Enhancement or improvement to existing feature or request Indexing Indexing, Bulk Indexing and anything related to indexing

Comments

@yupeng9
Copy link

yupeng9 commented Dec 31, 2024

Is your feature request related to a problem? Please describe

Introduce a set of APIs that allow for the pulling of the messages from a streaming source for ingestion.

Describe the solution you'd like

The API has the following components:

  • An IngestionShardConsumer interface that can be implemented by different streaming technologies like KafkaPartitionConsumer and KinesisShardConsumer
  • An IngestionShardPointer interface that points to a message in the stream, implemented as KafkaOffset, KinesisSequenceNumber and PulsarCursor
  • A Message interface that is implemented based on the technology, such as KafkaMessage and KinesisMessage
  • An IngestionConsumerFactory that is able to create an IngestionShardConsumer based on the technology, such as KafkaConsumerFactory and KinesisConsumerFactory
  • An IngestionConsumerPlugin that is able to construct the IngestionConsumerFactory, such as KafkaPlugin and KinesisPlugin
  • A ReadResult that holds both the message and the pointer to the message

More details can be found in this design doc

Related component

Indexing

Describe alternatives you've considered

No response

Additional context

No response

@yupeng9 yupeng9 added enhancement Enhancement or improvement to existing feature or request untriaged labels Dec 31, 2024
@github-actions github-actions bot added the Indexing Indexing, Bulk Indexing and anything related to indexing label Dec 31, 2024
@soosinha
Copy link
Member

soosinha commented Jan 6, 2025

[Triage - attendees 1 2 3 4]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request Indexing Indexing, Bulk Indexing and anything related to indexing
Projects
None yet
2 participants