-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
feat(outputs.azure_data_explorer): Added support for streaming ingestion for ADX output plugin #11874
feat(outputs.azure_data_explorer): Added support for streaming ingestion for ADX output plugin #11874
Conversation
Hi @srebhan, We have created a fresh new PR that contain only the support for "managed" type ingestion for Azure ADX. We have not changed/removed/refactored anything in the existing tests/functionality. The changes include marking A separate test case has been added to test the new managed and queued ingestion functionality without altering the existing testcases. For us going forward with the functionality is on priority then just refactoring the testcases and code. Hence, this new PR |
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.
Thanks for splitting the PR @asaharn! I have some small comment in the code. Please also run make fmt
to keep CI happy...
I expect you to clean up the deprecated stuff in another PR once this is merged. Is this expectation correct?
plugins/outputs/azure_data_explorer/azure_data_explorer_test.go
Outdated
Show resolved
Hide resolved
plugins/outputs/azure_data_explorer/azure_data_explorer_test.go
Outdated
Show resolved
Hide resolved
plugins/outputs/azure_data_explorer/azure_data_explorer_test.go
Outdated
Show resolved
Hide resolved
plugins/outputs/azure_data_explorer/azure_data_explorer_test.go
Outdated
Show resolved
Hide resolved
plugins/outputs/azure_data_explorer/azure_data_explorer_test.go
Outdated
Show resolved
Hide resolved
plugins/outputs/azure_data_explorer/azure_data_explorer_test.go
Outdated
Show resolved
Hide resolved
* Address review comments
bba900c
to
8054a1b
Compare
Hi @srebhan , Added the changes for the asks. Please have a look. Additionally, running And yes, we will be removing the deprecated code in the next PR. |
@asaharn for me CI says
are you sure you are on go 1.19? |
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.
@asaharn looks almost good. Thanks for your update. Please check the two remaining comments and the formatting issue.
}, | ||
} | ||
for _, testCase := range testCases { | ||
testCase := testCase |
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.
Then don't run them in parallel. :-) I don't expect a big benefit, am I mislead?
*Lint fix
Download PR build artifacts for linux_amd64.tar.gz, darwin_amd64.tar.gz, and windows_amd64.zip. 📦 Click here to get additional PR build artifactsArtifact URLs |
Hi @srebhan , Have added the changes and seems Ci is also happy now 😄 |
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 good to me. Thanks for working on this @asaharn! Looking forward to your cleanup PR.
Hi @srebhan, |
@asaharn sorry for the delay. prs need 2 team approvals to be merged. |
…ion for ADX output plugin (influxdata#11874)
Hi @srebhan @MyaLongmire is there any step missing to make this a part of next release? I noticed it could not make it through last two releases including v1.24.4 |
New features are released in new minor versions, not bug fix releases. That means it will be in v1.25.0, which should go out on or around Dec 12. For now you can use a nightly build to ensure it is working and give us early feedback. |
Required for all PRs
resolves #
Added support for "managed" steaming ingestion type for Azure data explorer output plugin. The data ingestion type is now configurable. The default ingestion type will be "queued" in case no type is configured. Read more about ingestion type
Deprecations
localClient
andlocalIngestor
has been deprecated since the introduction ofkusto.Client
andingest.Ingestor
respectively in Auzre Kusto Go SDK. The change is done to maintain the consistency.