SMM component architecture
Before you get started with SMM, it is helpful to review this information about SMM component architecture.
The below table outlines key components of SMM as described in the above diagram.
Component Name / Version | Version Supported by SMM | Description | Where it is deployed | Binary Location | Required/Optional |
DP Platform | 1.2.x | A platform that provides an extensible set of services for HDP and HDF clusters. | DPS_HOST | Customer Support Portal | Required |
SMM Application | 1.2.0 | A DP Platform application that provides a monitoring platform for Kafka clusters. | DPS_HOST | Customer Support Portal | Required |
DP Platform Knox | N/A | DP Platform Knox instance is used for SSO between DP Platform and any HDP/HDF Clusters that it is managing. This Knox instances needs to be synced with the same LDAP store as the target clusters. | DPS_HOST | N/A (Part of DP Platform) | Required |
HDP or HDF |
HDP and/or HDF |
SMM supports monitoring Kafka version (2.0.0) that are part of HDP or HDF. | HDP/HDF Nodes | Hortonworks Public Downloads Page | Required (Either HDP or HDF) |
SMM REST Server Agent | 1.2.0 | Provides REST endpoints that power the SMM Application to manage and monitor Kafka clusters. Knox SSO must be enabled for this service. Note that enabling TLS for SMM REST Server Agent is strongly recommended for any production setup. | HDP or HDF Cluster | Customer Support Portal | Required |
HDP or HDF Knox | N/A | Provides SSO services from the SMM Application in DP Platform to the SMM REST Server on the HDP/HDF cluster. The logged in user in DP Platform using Knox SSO connects to SMM REST Services, Ambari Services, and other services. | HDP or HDF Cluster | N/A (Part of HDP or HDF) | Required |
Ambari | 2.7.x | HDP or HDF Cluster must be provisioned by Ambari and SSO must be enabled for Ambari and SMM Rest Server. | HDP/HDF Cluster | Hortonworks Public Downloads Page | Required |
Kafka | 2.0.0 (installed as part of HDP or HDF) | Kafka 2.0.0 that is installed via HDP or HDF is required for SMM. | HDP or HDF Cluster | N/A (Part of HDP or HDF) | Required |
AMS | Part of HDP 3.1.0 and HDF 3.3.x) | Ambari Metrics Server is a time Series and Graph database built on top of HBase. It houses all the time-series Kafka Metrics that power SMM. | HDP/HDF Cluster | N/A (Part of HDP/HDF) | Required |
ZooKeeper | Part of HDP and HDF) | ZooKeeper contains information about Kafka metadata. | HDP/HDF Cluster | N/A (Part of HDP/HDF) | Required |
AD/LDAP | Identity Provider Store that houses user and group information for users that access the system. DataPlane Platform and HDP or HDF must use the same LDAP instance. | Up to the Organization | Organization specific | Required for Knox SSO integration with HDP or HDF cluster and DP Platform | |
Kerberos / KDC | System used for strong authentication and identity propagation for both user and services in an HDP or HDF Cluster. | HDP or HDF Cluster | Organization Specific | Optional, but strongly recommended) | |
Ranger | Part of HDP 3.1 and HDF 3.3.x) | The Kafka Ranger plugin is used by SMM Rest Server to ensure that the logged in user only has access to the topics the user is configured to see based on the configured Ranger policies. | HDP or HDF Cluster | N/A (Part of HDP or HDF) | Optional, but strongly recommended) |
Schema Registry | Part of HDF | A central repository that houses schema information including serializers/deserializers for a given Kafka topics. SMM uses SR for the Topic Visualizer capability. | HDF Cluster | N/A (Part of HDF) |
Optional, but recommended) |
Atlas | Part of HDP | SMM provides links to Kafka entities in Atlas. | HDP cluster | N/A (Part of HDP Cluster) | Optional |
Grafana | Part of HDP and HDF) | SMM provides links to broker or topic dashboards in Grafana for more detailed metrics. | HDP or HDF Cluster | N/A (Part of HDP or HDF) | Optional |
The below table outlines some of the key integration points between the different SMM components. These integration points are marked in the diagram above with yellow circles.
Integration Point | Description |
|
|
|
|
|
|
|
The below table outlines the flow of when a SMM Kafka DevOps users named
gjvett
logs into DP Platform and uses SMM to monitor and manage a Kafka
cluster. These integration points are marked in the diagram above with green circles.
User |
|
|
|
|
|
For the cluster selected, SMM Application talks to the target cluster's Knox
instance to fetch SSO token for user |
|
SMM Application then makes calls to SMM REST Server Agent as
|
|
SMM REST Server Agent then queries a series of components like Kafka internal consumer group topics, Ambari AMS, Schema Registry, etc to fetch data required for user’s action in the SMM Application. |
|
The information returned to SMM Application is filtered based on the ACL
permissions associated for user |