Open kartg opened 11 months ago
Additional info:
After the Data Prepper server stopped
log line above, API calls to the Docker process are not responsive i.e. there is no longer a process listening on the port
I've also attached a jstack dump that i took on the Docker container: jstack_3141.txt
I was able to repro the same behavior outside Docker (using the binary from ./gradlew build
). Pipeline configuration remained the same.
jstack dump - jstack_dump_2.txt
I'd check to see if the opensearch
source has any background threads that might not be shut down. By default, Java threads are not daemon threads, so these may interrupt the shut down.
Describe the bug I'm using the Docker version of Data Prepper (
opensearch-data-prepper:2.4.0-SNAPSHOT
) built from source (./gradlew :dockerSolution:buildDockerImages
). When using a pipeline that includes an Opensearch source, invoking Data Prepper's shutdown API appears to terminate the Data Prepper server but does not stop the Docker container.Snippet of Data Prepper logs:
Command line:
Pipeline configuration:
This is possibly an issue only with the opensearch source plugin - I used the following pipeline and the Docker container stopped correctly (the sink endpoint in both cases is the same).
To Reproduce See above
Expected behavior The Docker container stops after the Data Prepper server has shut down
Screenshots N/A
Environment (please complete the following information):
Additional context N/A