Abc import from local MS SqlServer to local ElasticSearch
- Dominant language
- Go
- Stars
- 471
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to use ABC to import data from my local sql server instance to my local elasticsearch instance (running on a docker container)
When I run the following command to import data from sql server to my elasticsearch
abc import --src_type=mssql --src_uri="sqlserver://User:P@ss@DBINSTANCE\DEV:1433?database=DBNAME" http://localhost:9200
I get the following error:
Panic at 48: connection error, http://localhost:9200 [recovered]
Nonetheless, curl to http://localhost:9200 is returning with no problems (200-OK)
Any help would be appreciate. Thanks!
Contributor guide
Research direction
Start by reproducing the `abc import` command with the local SQL Server source and Docker-hosted Elasticsearch target, then compare its connection handling with the successful `curl http://localhost:9200` request. Done means the import connects to Elasticsearch and proceeds without the reported panic.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, elasticsearch
- Domain
- cli, data-engineering, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100