mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-27 01:45:32 +00:00
MINOR: Enable Log streaming for ingestion pipelines (#23551)
This commit is contained in:
parent
8eaf4f585d
commit
787d27f3f7
@ -1181,6 +1181,9 @@ public class IngestionPipelineResource
|
|||||||
decryptOrNullify(securityContext, ingestionPipeline, true);
|
decryptOrNullify(securityContext, ingestionPipeline, true);
|
||||||
ServiceEntityInterface service =
|
ServiceEntityInterface service =
|
||||||
Entity.getEntity(ingestionPipeline.getService(), "", Include.NON_DELETED);
|
Entity.getEntity(ingestionPipeline.getService(), "", Include.NON_DELETED);
|
||||||
|
if (repository.isS3LogStorageEnabled()) {
|
||||||
|
ingestionPipeline.setEnableStreamableLogs(true);
|
||||||
|
}
|
||||||
PipelineServiceClientResponse status =
|
PipelineServiceClientResponse status =
|
||||||
pipelineServiceClient.deployPipeline(ingestionPipeline, service);
|
pipelineServiceClient.deployPipeline(ingestionPipeline, service);
|
||||||
if (status.getCode() == 200) {
|
if (status.getCode() == 200) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user