Git Product home page Git Product logo

bds-xlm's Introduction

bds-xlm

logo

Introduction

bds-xlm is one of the independent modules in open source project of block chain data service (BDS) - provides full node data service.

bds-xlm Based on the horizon-v0.16.0 version of stellar/go,bds-xlm redeveloped to support sending new block data directly to message middleware service of kafka to facilitate upstream services to subscribe and consume.

Architecture

Architecture

Environmental Deployment

Install BDS-XLM

Environment Initialization

build

Install steps

  1. Compile
  dep ensure -v
  go build -v $GOPATH/src/github.com/stellar/go/services/horizon
  1. Run full node and support sending messages to Kafka
  ./horizon --ingest --port <port> --kafka=true --kafka-proxy-host=<kafka host> --kafka-proxy-port=<kafka port> --kafka-topic=<kafka topic>

Install confluent and kafka

Install kafka

See kafka

Modify config/server.properties
  • message.max.bytes=1048576000

Install confluent

see confluent

Unzip the confluent package and run Confluent REST Proxy

Modify /etc/kafka-rest/kafka-rest.properties
  • max.request.size = 1048576000
  • buffer.memory = 1048576000
  • send.buffer.bytes = 1048576000

Install BDS

See BDS

Database

Database we now support SQL Server, PostgreSQL, you can choose one as a data storage method.

SQL Server

Buy JCS For SQL Server

PostgreSQL

Buy JCS For PostgreSQL

Install Grafana

See Grafana Official

New funtion

  1. The new function of sending messages to Kafka is added(every time a new block is synchronized by full node, the data of the block is sent to kafka and the data structure is customized).
  2. Sendblock and sendbatchblock are newly added as RPC interfaces to trigger full node to send data for a specific block.

Source Code Change History

bds-xlm

Contributing

Contributing guide

License

Apache License 2.0

Project Demonstration

Blockchain Data Service

bds-xlm's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.