After saving data from gateway to kafka, iningester cannot be consumed
bourbonkk opened this issue · comments
Describe the bug
A clear and concise description of what the bug is.
When the storage_type of gateway is set to kafka and storage_type of ingester is set to prometheus, abnormal operation occurs.
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
ingester logs
Desktop (please complete the following information):
- OS: [e.g. iOS] fedora
- Browser [e.g. chrome, safari]
- Version [e.g. 22] 36
Additional context
Add any other context about the problem here.
As the promtail kafka writer was added, the default kafka encoding was changed to json, so there was a problem in that the gateway transmits the default proto encoding and the inester decodes it as json. Also add logging and set default to proto