class
KafkaManager extends Logging
Instance Constructors
-
new
KafkaManager(akkaConfig: Config)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
addCluster(clusterName: String, version: String, zkHosts: String, jmxEnabled: Boolean, jmxUser: Option[String], jmxPass: Option[String], jmxSsl: Boolean, pollConsumers: Boolean, filterConsumers: Boolean, tuning: Option[ClusterTuning], securityProtocol: String, saslMechanism: Option[String], jaasConfig: Option[String], logkafkaEnabled: Boolean = false, activeOffsetCacheEnabled: Boolean = false, displaySizeEnabled: Boolean = false): Future[\/[ApiError, Unit]]
-
def
addMultipleTopicsPartitions(clusterName: String, topics: Seq[String], brokers: Set[Int], partitions: Int, readVersions: Map[String, Int]): Future[\/[ApiError, ClusterContext]]
-
def
addTopicPartitions(clusterName: String, topic: String, brokers: Seq[Int], partitions: Int, readVersion: Int): Future[\/[ApiError, ClusterContext]]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
createLogkafka(clusterName: String, logkafka_id: String, log_path: String, config: Properties = new Properties): Future[\/[ApiError, ClusterContext]]
-
def
createTopic(clusterName: String, topic: String, partitions: Int, replication: Int, config: Properties = new Properties): Future[\/[ApiError, ClusterContext]]
-
def
debug(msg: ⇒ Any, t: ⇒ Throwable): Unit
-
def
debug(msg: ⇒ Any): Unit
-
-
def
deleteCluster(clusterName: String): Future[\/[ApiError, Unit]]
-
def
deleteLogkafka(clusterName: String, logkafka_id: String, log_path: String): Future[\/[ApiError, ClusterContext]]
-
def
deleteTopic(clusterName: String, topic: String): Future[\/[ApiError, ClusterContext]]
-
def
disableCluster(clusterName: String): Future[\/[ApiError, Unit]]
-
def
enableCluster(clusterName: String): Future[\/[ApiError, Unit]]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
error(msg: ⇒ Any, t: ⇒ Throwable): Unit
-
def
error(msg: ⇒ Any): Unit
-
def
finalize(): Unit
-
def
generatePartitionAssignments(clusterName: String, topics: Set[String], brokers: Set[Int]): Future[\/[IndexedSeq[ApiError], Unit]]
-
def
getBrokerList(clusterName: String): Future[\/[ApiError, BrokerListExtended]]
-
def
getBrokerView(clusterName: String, brokerId: Int): Future[\/[ApiError, BVView]]
-
def
getBrokersView(clusterName: String): Future[\/[ApiError, Map[Int, BVView]]]
-
final
def
getClass(): Class[_]
-
def
getClusterConfig(clusterName: String): Future[\/[ApiError, ClusterConfig]]
-
def
getClusterContext(clusterName: String): Future[\/[ApiError, ClusterContext]]
-
-
def
getClusterView(clusterName: String): Future[\/[ApiError, CMView]]
-
def
getConsumedTopicState(clusterName: String, consumer: String, topic: String, consumerType: String): Future[\/[ApiError, ConsumedTopicState]]
-
def
getConsumerIdentity(clusterName: String, consumer: String, consumerType: String): Future[\/[ApiError, ConsumerIdentity]]
-
def
getConsumerListExtended(clusterName: String): Future[\/[ApiError, ConsumerListExtended]]
-
def
getConsumersForTopic(clusterName: String, topic: String): Future[Option[Iterable[(String, ConsumerType)]]]
-
def
getGeneratedAssignments(clusterName: String, topic: String): Future[\/[ApiError, GeneratedPartitionAssignments]]
-
def
getLogkafkaIdentity(clusterName: String, logkafka_id: String): Future[\/[ApiError, LogkafkaIdentity]]
-
def
getLogkafkaListExtended(clusterName: String): Future[\/[ApiError, LogkafkaListExtended]]
-
def
getLogkafkaLogkafkaIdList(clusterName: String): Future[\/[ApiError, LogkafkaLogkafkaIdList]]
-
def
getPreferredLeaderElection(clusterName: String): Future[\/[ApiError, Option[PreferredReplicaElection]]]
-
def
getReassignPartitions(clusterName: String): Future[\/[ApiError, Option[ReassignPartitions]]]
-
def
getTopicIdentity(clusterName: String, topic: String): Future[\/[ApiError, TopicIdentity]]
-
def
getTopicList(clusterName: String): Future[\/[ApiError, TopicList]]
-
def
getTopicListExtended(clusterName: String): Future[\/[ApiError, TopicListExtended]]
-
def
getTopicMetrics(clusterName: String, topic: String): Future[\/[ApiError, Option[BrokerMetrics]]]
-
def
getTopicsUnderReassignment(clusterName: String): Future[\/[ApiError, IndexedSeq[String]]]
-
def
hashCode(): Int
-
def
info(msg: ⇒ Any, t: ⇒ Throwable): Unit
-
def
info(msg: ⇒ Any): Unit
-
def
isDebugEnabled: Boolean
-
def
isErrorEnabled: Boolean
-
def
isInfoEnabled: Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
isTraceEnabled: Boolean
-
def
isWarnEnabled: Boolean
-
def
logger: Logger
-
def
loggerName: String
-
def
manualPartitionAssignments(clusterName: String, assignments: List[(String, List[(Int, List[Int])])]): Future[\/[IndexedSeq[ApiError], Unit]]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
runPreferredLeaderElection(clusterName: String, topics: Set[String]): Future[\/[ApiError, ClusterContext]]
-
def
runReassignPartitions(clusterName: String, topics: Set[String], force: Boolean = false): Future[\/[IndexedSeq[ApiError], Unit]]
-
def
shutdown(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
def
topicListSortedByNumPartitions(tle: TopicListExtended): Seq[(String, Option[TopicIdentity])]
-
def
trace(msg: ⇒ Any, t: ⇒ Throwable): Unit
-
def
trace(msg: ⇒ Any): Unit
-
def
updateCluster(clusterName: String, version: String, zkHosts: String, jmxEnabled: Boolean, jmxUser: Option[String], jmxPass: Option[String], jmxSsl: Boolean, pollConsumers: Boolean, filterConsumers: Boolean, tuning: Option[ClusterTuning], securityProtocol: String, saslMechanism: Option[String], jaasConfig: Option[String], logkafkaEnabled: Boolean = false, activeOffsetCacheEnabled: Boolean = false, displaySizeEnabled: Boolean = false): Future[\/[ApiError, Unit]]
-
def
updateLogkafkaConfig(clusterName: String, logkafka_id: String, log_path: String, config: Properties, checkConfig: Boolean = true): Future[\/[ApiError, ClusterContext]]
-
def
updateTopicConfig(clusterName: String, topic: String, config: Properties, readVersion: Int): Future[\/[ApiError, ClusterContext]]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
warn(msg: ⇒ Any, t: ⇒ Throwable): Unit
-
def
warn(msg: ⇒ Any): Unit
Inherited from Logging
Inherited from AnyRef
Inherited from Any