Better instructions for running astra locally #799
Unanswered
autata
asked this question in
Onboarding
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've put out a PR (#779) that brings up each node type with proper communication throughout. with a singled
docker compose up
command. There are some manual steps still to get everything running, copied below.I'd love to discuss making it more seamless to bring the whole stack locally. Improvements to the instructions below would be:
(2)
below. I think fixing the underlying issue makes the most sense sincetopic test-topic-in
is not supported externally anyway. (see updates to dockerfile to run astra and dependencies locally #779 (comment))(3)
locally via script or some other way.Instructions for local development.
Putting these in the PR description for now, but potentially this should be added to the Onboarding docs or a new local development doc.
1. in terminal, build and run compose to bring up dependencies and kaldb nodes
2. in kafka container terminal, create input topic (preprocessor crashes if it does not exist before configuring manager in next step)
3. run 2 curl commands to configure 1 partition
4. Add some logs via bulk ingest
5. Example curl to read data
Note: This is similar to ES _msearch but
size
,lte
, andgte
are all required or else a 500 error occurs. In follow-up work, I will clean up those endpoints to return a 400 (bad request) with detail about the missing required argument. PR around follow-up: #780Beta Was this translation helpful? Give feedback.
All reactions