class KafkaManager extends Logging
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- KafkaManager
- Logging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new KafkaManager(akkaConfig: Config)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- 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(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
debug(msg: ⇒ Any, t: ⇒ Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
debug(msg: ⇒ Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- val defaultTuning: ClusterTuning
- 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
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
error(msg: ⇒ Any, t: ⇒ Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
error(msg: ⇒ Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def generatePartitionAssignments(clusterName: String, topics: Set[String], brokers: Set[Int], replicationFactor: Option[Int] = None): 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[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getClusterConfig(clusterName: String): Future[\/[ApiError, ClusterConfig]]
- def getClusterContext(clusterName: String): Future[\/[ApiError, ClusterContext]]
- def getClusterList: Future[\/[ApiError, KMClusterList]]
- 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
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
info(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
info(msg: ⇒ Any, t: ⇒ Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
info(msg: ⇒ Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
isDebugEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
isErrorEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
isInfoEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isTraceEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
isWarnEnabled: Boolean
- Attributes
- protected
- Definition Classes
- Logging
-
def
logger: Logger
- Attributes
- protected
- Definition Classes
- Logging
-
def
loggerName: String
- Attributes
- protected
- Definition Classes
- Logging
- def manualPartitionAssignments(clusterName: String, assignments: List[(String, List[(Int, List[Int])])]): Future[\/[IndexedSeq[ApiError], Unit]]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def topicListSortedByNumPartitions(tle: TopicListExtended): Seq[(String, Option[TopicIdentity])]
-
def
trace(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
trace(msg: ⇒ Any, t: ⇒ Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
trace(msg: ⇒ Any): Unit
- Attributes
- protected
- Definition Classes
- Logging
- 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
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
warn(mkr: Marker, msg: ⇒ Any, t: ⇒ Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
warn(msg: ⇒ Any, t: ⇒ Throwable): Unit
- Attributes
- protected
- Definition Classes
- Logging
-
def
warn(msg: ⇒ Any): Unit
- Attributes
- protected
- Definition Classes
- Logging