Skip to content

Instantly share code, notes, and snippets.

@elakito
elakito / sc_subtest.go
Created December 13, 2016 16:32
sarama_cluster's publisher subscriber samples to test partition assignment
package main
import (
"flag"
"fmt"
"log"
"strings"
"time"
"github.com/Shopify/sarama"