Code Monkey home page Code Monkey logo

data-marketplace-esearchfeeder's Introduction

ElasticSearch Feeder

This repository contains the needed code to feed data from the blockchain to ElasticSearch. The project is written in Go. To run this component correctly, you should be familiar with the Data marketplace components because there is a particular dependency between the components.

Build prerequisites

  • Install golang.
  • Install git.
  • Configure go. GOPATH environment variable must be set correctly before starting the build process.

Download and build source code

mkdir -p $HOME/workspace
export GOPATH=$HOME/workspace
mkdir -p $GOPATH/src/github.com/lgsvl
cd $GOPATH/src/github.com/lgsvl
git clone [email protected]:lgsvl/data-marketplace-esearchFeeder.git
cd data-marketplace-esearchFeeder
./scripts/build

Docker Build

You can use the dockerfile to build a docker image:

docker build -t esearchfeeder .
docker run data-stream-delivery

Kubernetes deployment

The deployment folder contains the deployment and persistent volume claim manifests to deploy this component. We assume that there is an ElasticSearch cluster already deployed in Kubernetes. We also assume that Data marketplace Chaincode REST is already deployed.

Testing data-stream-delivery

Run the tests:

./scripts/run_glide_up
./scripts/run_units.sh

data-marketplace-esearchfeeder's People

Contributors

midoblgsm avatar

Watchers

James Cloos avatar

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.