stellar / go

Stellar's public monorepo of go code
https://stellar.org/developers
Apache License 2.0
1.3k stars 499 forks source link

Ingestion-as-a-library #3110

Closed 2opremio closed 3 years ago

2opremio commented 4 years ago

We should allow users to create their own core-ingestion pipelines.

High level tasks:

Shaptic commented 3 years ago

With regards to the following item:

either make mock implementations private or move them to separate testing package

This may not be possible. Enumerating the approaches:

$ go test
# github.com/stellar/go/ingest
package github.com/stellar/go/ingest (test)
    imports github.com/stellar/go/ingest/testing
    imports github.com/stellar/go/ingest: import cycle not allowed in test
FAIL    github.com/stellar/go/ingest [setup failed]
ire-and-curses commented 3 years ago

This was completed and released as stellar-ingest-v1.0.0.