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

NMS-15859: Inherit basic SSL config props from the producer to the stream client. #6412

Merged
merged 5 commits into from
Aug 2, 2023

Conversation

j-white
Copy link
Contributor

@j-white j-white commented Jul 20, 2023

JIRA: https://opennms.atlassian.net/browse/NMS-15859

Also document the behavior and existence of the stream config.

…ream client.

Also document the behavior and existence of the stream config.
@j-white j-white requested review from Bonrob2 and dino2gnt July 20, 2023 15:31
@github-actions github-actions bot added the docs label Jul 20, 2023
Copy link
Contributor

@Bonrob2 Bonrob2 left a comment

Choose a reason for hiding this comment

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

minor doc changes. should it be merged to foundation?

@j-white j-white changed the base branch from develop to foundation-2023 July 20, 2023 16:55
dino2gnt
dino2gnt previously approved these changes Jul 20, 2023
Copy link
Contributor

@dino2gnt dino2gnt left a comment

Choose a reason for hiding this comment

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

alarm-datasync-4ff962a7-05a9-47a0-9467-9bfba0afc4a5-GlobalStreamThread | GlobalStreamThread               | 209 - org.apache.servicemix.bundles.kafka-clients - 3.3.1.1 | global-stream-thread [alarm-datasync-4ff962a7-05a9-47a0-9467-9bfba0afc4a5-GlobalStreamThread] State transition from CREATED to RUNNING
alarm-datasync-4ff962a7-05a9-47a0-9467-9bfba0afc4a5-GlobalStreamThread | KafkaStreams                     | 209 - org.apache.servicemix.bundles.kafka-clients - 3.3.1.1 | stream-client [alarm-datasync-4ff962a7-05a9-47a0-9467-9bfba0afc4a5] State transition from REBALANCING to RUNNING
kafka-producer-alarm-datasync-0 | KafkaStreams                     | 209 - org.apache.servicemix.bundles.kafka-clients - 3.3.1.1 | stream-client [alarm-datasync-4ff962a7-05a9-47a0-9467-9bfba0afc4a5] Started 0 stream threads
kafka-producer-alarm-datasync-0 | KafkaAlarmDataSync               | 509 - org.opennms.features.kafka.producer - 31.0.6 | Starting alarm datasync started.
kafka-producer-alarm-datasync-0 | KafkaAlarmDataSync               | 509 - org.opennms.features.kafka.producer - 31.0.6 | Waiting for alarm data store to be ready.
kafka-producer-alarm-datasync-0 | KafkaAlarmDataSync               | 509 - org.opennms.features.kafka.producer - 31.0.6 | Alarm data store is ready!

Rad.

@github-actions github-actions bot requested a review from Bonrob2 July 20, 2023 18:50
Copy link
Contributor

@Bonrob2 Bonrob2 left a comment

Choose a reason for hiding this comment

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

docs LGTM!

christianpape
christianpape previously approved these changes Aug 1, 2023
Copy link
Contributor

@christianpape christianpape left a comment

Choose a reason for hiding this comment

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

LGTM.

@github-actions github-actions bot requested a review from Bonrob2 August 1, 2023 13:20
Bonrob2
Bonrob2 previously approved these changes Aug 1, 2023
Copy link
Contributor

@Bonrob2 Bonrob2 left a comment

Choose a reason for hiding this comment

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

LGTM!


When producing alarms to a topic, we also automatically enable a Kafka Stream client to help synchronize the contents of the topic and ensure eventual consistency with the database.

The streams client takes different properties than the producer and requires a separate configuration map.
Copy link
Contributor

Choose a reason for hiding this comment

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

"streams client" or "stream client"? it's singular when mentioned in the previous sentence. (and captialized)

@github-actions github-actions bot requested a review from Bonrob2 August 2, 2023 05:25
@christianpape christianpape dismissed stale reviews from Bonrob2 and themself via ef0d73a August 2, 2023 05:28
Copy link
Contributor

@christianpape christianpape left a comment

Choose a reason for hiding this comment

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

LGTM.

@christianpape christianpape merged commit bc81514 into foundation-2023 Aug 2, 2023
4 checks passed
@christianpape christianpape deleted the jw/jira/NMS-15859 branch August 2, 2023 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants