-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move ddb source coordinator config to the data-prepper-config.yaml (#…
…3466) Signed-off-by: Taylor Gray <tylgry@amazon.com>
- Loading branch information
1 parent
400b2a8
commit 633401a
Showing
42 changed files
with
675 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...nsearch/dataprepper/model/source/coordinator/enhanced/UsesEnhancedSourceCoordination.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package org.opensearch.dataprepper.model.source.coordinator.enhanced; | ||
|
||
import org.opensearch.dataprepper.model.source.coordinator.SourcePartitionStoreItem; | ||
|
||
import java.util.function.Function; | ||
|
||
public interface UsesEnhancedSourceCoordination { | ||
|
||
/** | ||
* | ||
* @param sourceCoordinator - The {@link EnhancedSourceCoordinator} to be used by the | ||
* {@link org.opensearch.dataprepper.model.source.Source} as needed | ||
*/ | ||
void setEnhancedSourceCoordinator(final EnhancedSourceCoordinator sourceCoordinator); | ||
|
||
Function<SourcePartitionStoreItem, EnhancedSourcePartition> getPartitionFactory(); | ||
} |
Oops, something went wrong.