Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

xwi88/kit4go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kit4go

Kits for go

Usage

go get -u github.com/xwi88/kit4go 

Supported or TODO

  • json wrap: encoding/json & jsoniter
  • datetime util
  • version util
  • mysql client
  • aerospike client
  • kafka producer: async & sync producer
  • kafka consumer: consumer & consumerGroup

issue

  • panic: non-positive interval for NewTicker
    • sarama-cluster@v2.1.15+incompatible/consumer.go
      1. config.Consumer.Offsets.CommitInterval = config.Consumer.Offsets.AutoCommit.Interval
      1. kafka github.com/Shopify/sarama v1.26.4 -> github.com/Shopify/sarama v1.24.1