Skip to content

Commit

Permalink
Update exp/services/ledgerexporter/DEVELOPER_GUIDE.md
Browse files Browse the repository at this point in the history
Co-authored-by: shawn <sreuland@users.noreply.github.com>
  • Loading branch information
urvisavla and sreuland committed Jun 27, 2024
1 parent d6216d1 commit a87105b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exp/services/ledgerexporter/DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The Dockerfile contains all the necessary dependencies (e.g., Stellar-core) requ
- Test: To test the Docker container, refer to the [docker-test](https://github.com/stellar/go/blob/master/exp/services/ledgerexporter/Makefile) command for an example of how to use the [GCS emulator](https://github.com/fsouza/fake-gcs-server) for local testing.

## Adding support for a new storage type
To add support for a new storage type (e.g. AWS S3), follow these steps:
Support for different data storage types are encapsulated as 'plugins', which are implementation of `DataStore` interface in a go package. To add a data storage plugin based on a new storage type (e.g. AWS S3), follow these steps:

- A data storage plugin must implement the [DataStore](https://github.com/stellar/go/blob/master/support/datastore/datastore.go) interface.
- Add support for new datastore-specific features. Implement any datastore-specific custom logic. Different datastores have different ways of handling
Expand Down

0 comments on commit a87105b

Please sign in to comment.