Skip to content

Support Multi-region Kafka ingests #18036

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jtuglu-netflix
Copy link
Contributor

@jtuglu-netflix jtuglu-netflix commented May 26, 2025

Implements #18008

TODO: add design info

Description

Creates a RecordSupplierGroup which can mux calls across multiple RecordSupplier instances. Currently keeping it so every indexing task is only reading from a single consumer (not multiple) as it is simplest (and no noisy neighbor), but this is liable to change especially with scaling. The only place where this poll() is called against multiple consumers in parallel is during data sampling in the data loader UI.

Release note


Key changed/added classes in this PR
  • MyFoo
  • OurBar
  • TheirBaz

This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.
  • a release note entry in the PR description.
  • added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
  • added or updated version, license, or notice information in licenses.yaml
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
  • added integration tests.
  • been tested in a test Druid cluster.

@jtuglu-netflix jtuglu-netflix force-pushed the multi-region-kafka-ingest-support branch from 5d8f93a to cfb7363 Compare May 28, 2025 00:11
}


@Override
protected RecordSupplier<KafkaTopicPartition, Long, KafkaRecordEntity> setupRecordSupplier()
{
final KafkaSupervisorIOConfig ioConfig = spec.getIoConfig();

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
KafkaSupervisorSpec.getIoConfig
should be avoided because it has been deprecated.
@jtuglu-netflix jtuglu-netflix changed the title [WIP]: Support Multi-region Kafka ingests Support Multi-region Kafka ingests May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant