-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Conversation
lmolkova
commented
Jan 23, 2023
- update swagger
- move common (between sync and async) code to utils
- implement concurrency for async and sync clients
...src/main/java/com/azure/monitor/ingestion/implementation/ConcurrencyLimitingSpliterator.java
Outdated
Show resolved
Hide resolved
9e62547
to
b2760fb
Compare
API change check APIView has identified API level changes in this PR and created following API reviews. |
5469a4b
to
653f5aa
Compare
/azp run java - monitor - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
...re-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/LogsIngestionAsyncClient.java
Outdated
Show resolved
Hide resolved
...r/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/LogsIngestionClient.java
Outdated
Show resolved
Hide resolved
...r/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/LogsIngestionClient.java
Outdated
Show resolved
Hide resolved
...r/azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/LogsIngestionClient.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/azure/monitor/ingestion/implementation/ConcurrencyLimitingSpliterator.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/azure/monitor/ingestion/implementation/ConcurrencyLimitingSpliterator.java
Outdated
Show resolved
Hide resolved
.../azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/Utils.java
Outdated
Show resolved
Hide resolved
812dd43
to
4d587f8
Compare
...src/main/java/com/azure/monitor/ingestion/implementation/ConcurrencyLimitingSpliterator.java
Outdated
Show resolved
Hide resolved
...zure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/Batcher.java
Outdated
Show resolved
Hide resolved
.../azure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/Utils.java
Outdated
Show resolved
Hide resolved
...zure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/Batcher.java
Outdated
Show resolved
Hide resolved
...zure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/Batcher.java
Outdated
Show resolved
Hide resolved
...zure-monitor-ingestion/src/main/java/com/azure/monitor/ingestion/implementation/Batcher.java
Show resolved
Hide resolved
5054f3c
to
9f8ad1c
Compare
There was a problem hiding this 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> { |
There was a problem hiding this comment.
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.