All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mcafee.dxl.streaming.operations.client.kafka.entities.KFCluster Maven / Gradle / Ivy

Go to download

It is set of APIs to operate and monitoring a Kafka cluster programmatically.

The newest version!
/**
 * Copyright (c) 2017 McAfee LLC - All Rights Reserved
 */

package com.mcafee.dxl.streaming.operations.client.kafka.entities;

import com.mcafee.dxl.streaming.operations.client.kafka.KFClusterStatusName;

import java.util.List;

/**
 * It represents a Kafka cluster
 */
public class KFCluster {

    private KFClusterStatusName kfClusterStatus;
    private List kfBrokers;

    /**
     *
     * @param kfClusterStatus Kafka cluster status
     * @param kfBrokers List of kafka brokers
     */
    public KFCluster(final KFClusterStatusName kfClusterStatus,
                     final List kfBrokers) {
        this.kfClusterStatus = kfClusterStatus;
        this.kfBrokers = kfBrokers;
    }

    public List getKFBrokers() {
        return kfBrokers;
    }

    public KFClusterStatusName getKfClusterStatus() {
        return kfClusterStatus;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy