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

Add HTTP Sink in depot #52

Open
1 of 19 tasks
jesrypandawa opened this issue Oct 18, 2022 · 0 comments
Open
1 of 19 tasks

Add HTTP Sink in depot #52

jesrypandawa opened this issue Oct 18, 2022 · 0 comments

Comments

@jesrypandawa
Copy link
Contributor

jesrypandawa commented Oct 18, 2022

  • Create HttpClient and related classes to include all the HTTP auth and HTTP methods.
  • Implement a bare minimum HttpSink which sends data to the HTTP server.
  • Add support for parsing of list data type in getFieldByName() method in ParsedOdpfMessage.
  • getFieldByName() should return ParsedMessage instead of Object. ParsedMessage should contain more methods like getType(), isReapated(), isStruct(), isPrimitive() etc etc.
  • Add ToJson() method to convert struct into JSON string in ParsedOdpfMessage class.
  • Create HeaderBuilder class
  • Create URI builder and QueryParam class
  • Create Raw Payload builder
  • Create Json Payload builder
  • Create Message Payload Builder
  • Create String Payload builder
  • Create JsonTemplate Payload Builder
  • Create RequestBuilder build() method for Single request
  • Create RequestBuilder build() method for Batch request
  • Create HttpRecordConverter
  • Implement HttpRequestRecord and HttpResponseRecord classes to contain methods like logging based on configs.
  • Add methods to parse the HttpResponseRecord to set correct ErrorTypes.
  • Instrumentation: Add sink related metrics
  • Documentation
@ravisuhag ravisuhag changed the title Dagger HTTP Sink Add HTTP Sink in depot Oct 18, 2022
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

No branches or pull requests

1 participant