Skip to content

kafka output plugin issue #879

@stand-for-hope

Description

@stand-for-hope

Bug Report

Describe the bug

To Reproduce

  • Rubular link if applicable:
  • Example log message if applicable:
{"log":"YOUR LOG MESSAGE HERE","stream":"stdout","time":"2018-06-11T14:37:30.681701731Z"}
  • Steps to reproduce the problem:

Expected behavior

Screenshots

Your Environment

  • Version used: fluentbit 0.13
  • Configuration:
  • Environment name and version (e.g. Kubernetes? What version?): kubernetes docker
  • Server type and version:
  • Operating System and version:
  • Filters and plugins:

Additional context
I have used the fluentbit 0.13 and nodejs to create a base image. In my own application dockerfile, i used that base image for "FROM" command, i create a shell script as the ENTRYPOINT for that dockerfile like this:
/fluent-bit/bin/fluent-bit -i exec -p 'command=npm run server' -o kafka -p brokers=**** -p topics=****
The problem is that:
After the application successfully deployed, application can run without any problems which means the "npm run server" script work properly but i can't see any loggers from our kafka.
But i try to go inside that running docker container and trigger fluentbit command manually then i can see the loggers go to kafka.
Can someone help give some advices on what the potential reason could be for this case?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions