Skip to content

Instantly share code, notes, and snippets.

View go-dvl's full-sized avatar

Vlad go-dvl

View GitHub Profile
package main
import (
"log"
"os"
"os/signal"
"syscall"
"time"
"github.com/AsynkronIT/protoactor-go/actor"
@go-dvl
go-dvl / bulk_processor_example1.go
Created February 22, 2018 10:34 — forked from olivere/bulk_processor_example1.go
Example #1 of bulk processor usage
// This is an example of using elastic's BulkProcessor with Elasticsearch.
//
// See https://github.com/olivere/elastic and
// and https://github.com/olivere/elastic/wiki/BulkProcessor
// for more details.
/*
* This example illustrates a simple process that performs bulk processing
* with Elasticsearch using the BulkProcessor in elastic.
*