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

Onboard ingestion onto sync stack #33146

Merged
merged 6 commits into from
Mar 22, 2023
Merged

Conversation

lmolkova
Copy link
Member

  1. update swagger
  2. move common (between sync and async) code to utils
  3. implement concurrency for async and sync clients

@lmolkova lmolkova force-pushed the ingestion-sync-stack branch from 9e62547 to b2760fb Compare January 23, 2023 22:01
@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-monitor-ingestion

@lmolkova lmolkova force-pushed the ingestion-sync-stack branch from 5469a4b to 653f5aa Compare March 8, 2023 02:34
@lmolkova
Copy link
Member Author

lmolkova commented Mar 8, 2023

/azp run java - monitor - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@lmolkova lmolkova force-pushed the ingestion-sync-stack branch from 812dd43 to 4d587f8 Compare March 15, 2023 00:30
@lmolkova lmolkova force-pushed the ingestion-sync-stack branch from 5054f3c to 9f8ad1c Compare March 21, 2023 23:40
Copy link
Member

@srnagar srnagar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

/**
* Provides iterator and streams for batches over log objects.
*/
public class Batcher implements Iterator<LogsIngestionRequest> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! Having a common batcher for both sync and async client is very useful. When the batching logic is updated, both clients will have the same behavior.

@lmolkova lmolkova merged commit 481753e into Azure:main Mar 22, 2023
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.

4 participants