Merge pull request #12 from zr-hebo/kafka-compress

Kafka compress support
This commit is contained in:
河伯 2019-12-19 10:11:53 +08:00 committed by GitHub
commit 7952d1339f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ func checkParams() {
case "lz4":
compressType = sarama.CompressionLZ4
default:
panic(fmt.Sprintf("cannot support compress type: %s", compress))
panic(fmt.Sprintf("cannot support kafka compress type: %s", compress))
}
fmt.Printf("kafka message compress type: %s", compress)