package
0.0.0-20210414064243-bac8e5f48e05
Repository: https://github.com/dawei101/gor.git
Documentation: pkg.go.dev
# README
rkafka
Quick Start!
package main
import (
"bytes"
"context"
"fmt"
"github.com/confluentinc/confluent-kafka-go/kafka"
"github.com/dawei101/gor/rkafka"
"strconv"
"strings"
"time"
)
func main() {
manager := rkafka.New()
manager.OnProcess("userLogin", func(msg *kafka.Message, ctx context.Context) error {
println(string(msg.Value))
return nil
})
//
manager.Run()
}
# Functions
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author