Skip to content
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

Kafka queues do not support special characters in source field names #2836

Open
5 tasks
djklim87 opened this issue Dec 10, 2024 · 1 comment
Open
5 tasks
Labels

Comments

@djklim87
Copy link
Contributor

djklim87 commented Dec 10, 2024

Bug Description:

When creating a source to read from Kafka queues, we need to iterate through the fields of the incoming message (JSON). In JSON, it’s acceptable for keys to contain $ or other special characters, but such characters are completely prohibited in Manticore fields. This needs to be handled appropriately

CREATE SOURCE wiki_source (id bigint, $schema json) 
type='kafka' 
broker_list='kafka:9092' 
topic_list='wikimedia' 
consumer_group='ms_wikimedia' 
num_consumers='4' 
batch=200

Manticore Search Version:

6.3.8

Operating System Version:

Any

Have you tried the latest development version?

None

Internal Checklist:

To be completed by the assignee. Check off tasks that have been completed or are not applicable.

  • Implementation completed
  • Tests developed
  • Documentation updated
  • Documentation reviewed
  • Changelog updated
@djklim87 djklim87 added the bug label Dec 10, 2024
@djklim87
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant