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

New Kafka module #129

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

alexcos78
Copy link

Description

New module added to send records to Kafka.
The connection to Kafka is Simple Authentication and Security Layer (SASL) authentication configuration enabled. SSL is also enabled. The CA certificate (base64) must be provided under /var/private/ssl/accounting/ca.crt of the host running cASO.

Fixes # no issue to fix

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • This change is provided with a documentation update

How Has This Been Tested?

Records collected from OpenStack has been sent to kafka consumer. SASL and SSL have been enabled.
Records from Kafka has been sent to Logstash and than to OpenSearch within a testing infrastructure.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Copy link

sonarcloud bot commented Sep 27, 2024

Copy link

codecov bot commented Sep 27, 2024

Codecov Report

Attention: Patch coverage is 20.00000% with 4 lines in your changes missing coverage. Please review.

Please upload report for BASE (master@9be0fe3). Learn more about missing BASE report.

Files with missing lines Patch % Lines
caso/record.py 25.00% 3 Missing ⚠️
caso/opts.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master     #129   +/-   ##
=========================================
  Coverage          ?   51.15%           
=========================================
  Files             ?       23           
  Lines             ?     1122           
  Branches          ?      159           
=========================================
  Hits              ?      574           
  Misses            ?      536           
  Partials          ?       12           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

1 participant