-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Pull-based Ingestion] Introduce the new pull-based ingestion engine, APIs, and Kafka plugin #16958
base: main
Are you sure you want to change the base?
Conversation
❌ Gradle check result for 16dd9d0: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
server/src/main/java/org/opensearch/index/engine/IngestionEngine.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/engine/IngestionEngine.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious how would the FGAC security model work, espl with security plugin which intercepts transport actions to validate if authorised users can perform bulk actions on certain indices. Is the intent to handle permissions at a Kafka "partition level"
Another aspect is maintaining Kafka checkpoints durably, I'm yet to read that part but would be good to understand how are we handling fail overs and recoveries
server/src/main/java/org/opensearch/plugins/IngestionConsumerPlugin.java
Show resolved
Hide resolved
server/src/main/java/org/opensearch/indices/ingest/package-info.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/indices/ingest/StreamPoller.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/engine/IngestionEngine.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Yupeng Fu <[email protected]>
❌ Gradle check result for 88e27f6: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for cc41f8c: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
cc41f8c
to
a940910
Compare
❌ Gradle check result for a940910: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Yupeng Fu <[email protected]>
a940910
to
8e7af9c
Compare
...estion-kafka/src/internalClusterTest/java/org/opensearch/plugin/kafka/IngestFromKafkaIT.java
Outdated
Show resolved
Hide resolved
❌ Gradle check result for 7a4f25d: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
7a4f25d
to
01126c5
Compare
❌ Gradle check result for 01126c5: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Yupeng Fu <[email protected]>
01126c5
to
4e0a4fa
Compare
@@ -194,4 +194,7 @@ grant { | |||
permission java.io.FilePermission "/sys/fs/cgroup/cpuacct/-", "read"; | |||
permission java.io.FilePermission "/sys/fs/cgroup/memory", "read"; | |||
permission java.io.FilePermission "/sys/fs/cgroup/memory/-", "read"; | |||
|
|||
// allow awaitility in tests | |||
permission java.lang.RuntimePermission "setDefaultUncaughtExceptionHandler"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be limited to test-framework.policy in the same pkg?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is needed by IngestionEngineTests
in server package.
i tried this, but it does not work
grant codeBase "${codebase.awaitility}" {
permission java.lang.RuntimePermission "setDefaultUncaughtExceptionHandler";
};
any thoughts?
server/src/main/java/org/opensearch/cluster/metadata/IndexMetadata.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/cluster/metadata/IngestionSource.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/cluster/metadata/IndexMetadata.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/opensearch/index/engine/NoOpEngine.java
Outdated
Show resolved
Hide resolved
❌ Gradle check result for a756d18: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
a756d18
to
47082b3
Compare
❌ Gradle check result for 47082b3: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
47082b3
to
3d013c7
Compare
❌ Gradle check result for 3d013c7: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for 3d013c7: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Yupeng Fu <[email protected]>
3d013c7
to
e53e792
Compare
❌ Gradle check result for e53e792: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Description
This PR implements the basics of the pull-based ingestion described in this RFC, including:
Currently WIP, and there are a few improvements to make and test coverage to increase
Related Issues
Resolves #16927 #16929 #16928
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.