Fix version incompatibility causing Kafka
service fails to launch
#2158
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This issue is caused by multiple version incompatibilities.
The
DOCKER_API_VERSION
INdocker-compose.yml
ofkafka-docker
is out of date. This prevents the kafka server from launching. Below is the error message from docker:Error response from daemon: {"message":"client version 1.22 is too old. Minimum supported API version is 1.24, please upgrade your client to a newer version"}
Thus the
DOCKER_API_VERSION
needs to be updated manually.After launching the
kafka
service, there are two exceptions being thrown when the LLM agent pipeline connecting tokafka
service. According to https://stackoverflow.com/questions/78518146/docker-compose-fails-with-error-urllib3-exceptions-urlschemeunknown-not-suppor and docker.errors.DockerException: Error while fetching server API version: HTTPConnection.request() got an unexpected keyword argument 'chunked' google-deepmind/alphafold#867 (comment), those are caused by conda package version incompatibility ofrequests
andurllib3
. Those need to be pinned to a lower version to avoid the issue.Closes #2152
By Submitting this PR I confirm: