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

feat: New Output Plugin Microsoft Fabric #4

Closed
wants to merge 4 commits into from

Conversation

Abhishek-saharn
Copy link
Collaborator

Summary

Checklist

  • No AI generated code was used in this PR

Related issues

resolves #

@asaharn asaharn self-assigned this Sep 13, 2024
@Abhishek-saharn Abhishek-saharn changed the title [Feature]: New Output Plugin: Microsoft Fabric Feat: New Output Plugin Microsoft Fabric Sep 13, 2024
ConnectionString := m.ConnectionString

if ConnectionString == "" {
return errors.New("endpoint must not be empty")
Copy link
Collaborator

Choose a reason for hiding this comment

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

m.EHConf.Log = m.Log
m.EHConf.Init()
m.FabricSinkService = m.EHConf
} else {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we check for DataSource = and make it explicit for Kusto, throw an error otherwise. Because we can say extend to one lake later

outputs.Add("microsoft_fabric", func() telegraf.Output {
return &MicrosoftFabric{
ADXConf: &ADX.AzureDataExplorer{
Timeout: config.Duration(20 * time.Second),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Timeout should be configurable

Copy link
Owner

Choose a reason for hiding this comment

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

Yes. Timeout is configurable. this is default. as per the corresponding connector.

plugins/outputs/microsoft_fabric/sample.conf Show resolved Hide resolved
@asaharn asaharn changed the title Feat: New Output Plugin Microsoft Fabric feat: New Output Plugin Microsoft Fabric Oct 16, 2024
@asaharn
Copy link
Owner

asaharn commented Oct 16, 2024

Moved change to #5

@asaharn asaharn closed this Oct 16, 2024
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