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

Adding DecodingService Decorator to ArmeriaService #8

Merged
merged 2 commits into from
Aug 28, 2024

Conversation

zarna1parekh
Copy link
Collaborator

@zarna1parekh zarna1parekh commented Aug 23, 2024

Summary

Adding DecodingService Decorator to ArmeriaService to allow accepting compressed data via _bulk endpoint

Local testing:
Sent gzip data via _bulk endpoint

zarna_parekh@Zarnas-MacBook-Pro ~ % vi data.json zarna_parekh@Zarnas-MacBook-Pro ~ % gzip -c data.json| curl -X POST 'http://localhost:8086/_bulk' \ -H "Content-Encoding: gzip" \ -H "Content-Type: application/json" \ --data-binary @- {"totalDocs":1,"failedDocs":0,"errorMsg":""}%
zarna_parekh@Zarnas-MacBook-Pro ~ % cat data.json { "index" : { "_index" : "test", "_id" : "100" } } { "@timestamp": "2024-03-07T12:00:00.000Z", "level": "INFO", "message": "This is a log message", "service-name": "test" }

Next steps: Create image and deploy to staging.

Requirements

@zarna1parekh zarna1parekh merged commit 0587e80 into airbnb-main Aug 28, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants