-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
standalone kafkareader no print #184
Comments
package main import ( "os" "github.com/chrislusf/gleam/flow" var ( func main() {
} |
k is like this: |
k = {*github.com/chrislusf/gleam/plugins/kafka.KafkaSource | 0xc0000dc7d0} |
try to add some actual work between read and println. |
added a Map between read and println, still no print, debug with break point set in the 1st line of capitalize, no stop after new msgs sent into the topic. |
) func main() {
} func capitalize(row []interface{}) error { |
i tried connect to a not existing topic, the topic appear after gleam app is started, but nothing active detected in the gleam app, here is the summary after app is stopped: |
step:testgleam.list0 |
BTW, default partition num in the remote kafka cluster is 12 |
or if there is a QQ group for gleam discussion, pls. share the id |
connect to some real kafka topic. There are some buffers. If not much traffic, the data are buffered. |
great! after connect to a real topic in production, it is working now. how to control the buffer, i would like each new msg is dealt by the Map ASAP without buffering. |
hi, chris, this time i run a standalone kafkareader connecting to a remote kafka cluster. no error reported, but no print after i put into messages into the "test" topic by kafka-console-consumer.sh. i changed the %x to %s, still no print.
The text was updated successfully, but these errors were encountered: