Skip to content

Commit

Permalink
Merge pull request #48 from Cray-HPE/CASMSMF-7120-update
Browse files Browse the repository at this point in the history
Updated PR for CASMSMF-7120
  • Loading branch information
rsjostrand-hpe authored Jan 24, 2023
2 parents 2ff1a2b + fb71563 commit f5c6c5b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.24.0
2.25.0
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ Removed - for now removed features
Fixed - for any bug fixes
Security - in case of vulnerabilities
-->
## [2.25.0] - 2023-01-19

### Changed
- CASMSMF-7120: Update for Cray Fabric Health Telemetry and Events to be sent to a common kafka topic cray-fabric-health instead of cray-fabric-health-events and cray-fabric-health-telemetry.

## [2.24.0] - 2023-01-10

### Added
Expand Down
4 changes: 1 addition & 3 deletions cmd/hmcollector/rest.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,7 @@ func parseRequest(w http.ResponseWriter, r *http.Request) {
strings.HasPrefix(event.MessageId, "CrayFabricCriticalTelemetry") {
writeToKafka("cray-fabric-crit-telemetry", eventsString, &kafkaMessageKey)
} else if strings.HasPrefix(event.MessageId, "CrayFabricHealth") {
writeToKafka("cray-fabric-health-events", eventsString, &kafkaMessageKey)
} else if strings.HasPrefix(event.MessageId, "CrayAlerts") {
writeToKafka("cray-fabric-health-telemetry", eventsString, &kafkaMessageKey)
writeToKafka("cray-fabric-health", eventsString, &kafkaMessageKey)
} else {
// If we get to this point then we don't have a specific topic this should go on,
// dump it on the generic one.
Expand Down

0 comments on commit f5c6c5b

Please sign in to comment.