Comments (1)
使用ekafka组件时发现一个小bug,不过不影响功能。producer使用writemessage时的日志输出为能打印出topic,起初我以为是我代码写错了,后来追到源码发现,如果发送消息时,不指定topic,默认使用config配置的topic,这时就无法输出topic。 interceptor_client.go 138行处。
是的,因为kafka-go这个方式并不是很好写拦截器,我们只能把每个方法wrap一遍最大限度的把一些信息,通过日志打出来,方便排查问题。他有些信息没暴露出来,或者他本身就没处理好,我们就没办法很好的将将信息输出正确,如果要达到信息准确,可能需要fork这个项目,把它做的更加适合拦截器。
from ego-component.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ego-component.