trait QueryableState extends KafkaStreamsTwitterServer with StaticPartitioning
Trait to mix into a Kafka Streams Server exposing queryable state
- Alphabetic
- By Inheritance
- QueryableState
- StaticPartitioning
- KafkaStreamsTwitterServer
- ScalaStreamsImplicits
- KafkaFlagUtils
- TwitterServer
- Warmup
- Ports
- DeprecatedLogging
- Logging
- TwitterServer
- Lifecycle
- AdminHttpServer
- Hooks
- DtabFlags
- Linters
- Stats
- Slf4jBridge
- App
- Logging
- Logging
- App
- CloseAwaitably
- CloseAwaitably0
- Awaitable
- Closable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
Abstract Value Members
Concrete 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
-
final
val
MinGrace: Duration
- Definition Classes
- App
-
def
addAdminRoute(route: Route): Unit
- Definition Classes
- AdminHttpServer
-
def
addAdminRoutes(newRoutes: Seq[Route]): Unit
- Definition Classes
- AdminHttpServer
-
def
addDtabs(): Unit
- Definition Classes
- DtabFlags
-
def
addFrameworkModule(module: Module): Unit
- Attributes
- protected[com.twitter]
- Definition Classes
- App
-
def
addFrameworkModules(modules: Module*): Unit
- Attributes
- protected[com.twitter]
- Definition Classes
- App
-
def
addFrameworkOverrideModules(modules: Module*): Unit
- Attributes
- protected[com.twitter.inject]
- Definition Classes
- App
-
def
adminBoundAddress: InetSocketAddress
- Definition Classes
- AdminHttpServer
-
val
adminHttpServer: ListeningServer
- Attributes
- protected
- Definition Classes
- AdminHttpServer
- Annotations
- @volatile()
-
val
adminPort: Flag[InetSocketAddress]
- Definition Classes
- AdminHttpServer
-
def
afterPostWarmup(): Unit
- Attributes
- protected
- Definition Classes
- TwitterServer → App
- Annotations
- @Lifecycle()
-
def
allowUndefinedFlags: Boolean
- Attributes
- protected
- Definition Classes
- App
-
val
appendFlag: Flag[Boolean]
- Attributes
- protected[this]
- Definition Classes
- Logging
-
val
applicationId: Flag[String]
- Attributes
- protected[com.twitter.finatra.kafkastreams]
- Definition Classes
- KafkaStreamsTwitterServer
-
val
applicationServerConfig: Flag[String]
- Attributes
- protected[com.twitter.finatra.kafkastreams]
- Definition Classes
- KafkaStreamsTwitterServer
-
def
args: Array[String]
- Definition Classes
- App
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
asyncFlag: Flag[Boolean]
- Attributes
- protected[this]
- Definition Classes
- Logging
-
val
asyncMaxSizeFlag: Flag[Int]
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
await(awaitables: Awaitable[_]*): Unit
- Attributes
- protected
- Definition Classes
- TwitterServer
-
def
await[T <: Awaitable[_]](awaitable: T): Unit
- Attributes
- protected
- Definition Classes
- TwitterServer
-
def
beforePostWarmup(): Unit
- Attributes
- protected
- Definition Classes
- TwitterServer → App
- Annotations
- @Lifecycle()
-
val
bootstrapServer: Flag[String]
- Attributes
- protected[com.twitter.finatra.kafkastreams]
- Definition Classes
- KafkaStreamsTwitterServer
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
close(deadline: Time): Future[Unit]
- Definition Classes
- App → Closable
-
def
close(after: Duration): Future[Unit]
- Definition Classes
- Closable
-
final
def
close(): Future[Unit]
- Definition Classes
- Closable
-
def
closeAwaitably(f: ⇒ Future[Unit]): Future[Unit]
- Attributes
- protected
- Definition Classes
- CloseAwaitably0
-
final
def
closeOnExit(closable: Closable): Unit
- Definition Classes
- App
-
final
def
closeOnExitLast(closable: Closable): Unit
- Definition Classes
- App
-
val
commitInterval: Flag[Duration]
- Attributes
- protected
- Definition Classes
- KafkaStreamsTwitterServer
-
def
configureAdminHttpServer(server: Server): Server
- Attributes
- protected
- Definition Classes
- AdminHttpServer
-
def
configureLoggerFactories(): Unit
- Attributes
- protected
- Definition Classes
- DeprecatedLogging → Logging
-
def
consumerFlagWithKafkaDefault[T](key: String)(implicit arg0: Flaggable[T]): Flag[T]
- Definition Classes
- KafkaFlagUtils
-
def
createAndStartKafkaStreams(): Unit
- Attributes
- protected[com.twitter.finatra]
- Definition Classes
- KafkaStreamsTwitterServer
-
def
createKafkaStreamsProperties(): Properties
- Attributes
- protected[com.twitter.finatra]
- Definition Classes
- KafkaStreamsTwitterServer
-
def
createKafkaStreamsTopology(): Topology
- Attributes
- protected[com.twitter.finatra]
- Definition Classes
- KafkaStreamsTwitterServer
-
val
currentShard: Flag[Int]
- Attributes
- protected
-
def
debug(marker: Marker, message: ⇒ Any, cause: Throwable): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
debug(message: ⇒ Any, cause: Throwable): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
debug(marker: Marker, message: ⇒ Any): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
debug(message: ⇒ Any): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
debugFutureResult[T](msg: String)(func: ⇒ Future[T]): Future[T]
- Attributes
- protected
- Definition Classes
- Logging
-
def
debugResult[T](message: ⇒ String)(fn: ⇒ T): T
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
defaultAdminPort: Int
- Definition Classes
- AdminHttpServer
-
def
defaultAppend: Boolean
- Definition Classes
- Logging
-
val
defaultCloseGracePeriod: Duration
- Definition Classes
- KafkaStreamsTwitterServer → App
-
def
defaultFormatter: Formatter
- Definition Classes
- Logging
-
def
defaultLogLevel: Level
- Definition Classes
- Logging
-
def
defaultOutput: String
- Definition Classes
- Logging
-
def
defaultRollPolicy: Policy
- Definition Classes
- Logging
-
def
defaultRotateCount: Int
- Definition Classes
- Logging
-
def
disableAdminHttpServer: Boolean
- Attributes
- protected
- Definition Classes
- AdminHttpServer
-
val
dtabAddBaseFlag: Flag[Dtab]
- Definition Classes
- DtabFlags
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(marker: Marker, message: ⇒ Any, cause: Throwable): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
error(message: ⇒ Any, cause: Throwable): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
error(marker: Marker, message: ⇒ Any): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
error(message: ⇒ Any): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
errorResult[T](message: ⇒ String)(fn: ⇒ T): T
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
exitOnError(reason: String, details: ⇒ String): Unit
- Attributes
- protected
- Definition Classes
- App
-
def
exitOnError(reason: String): Unit
- Attributes
- protected
- Definition Classes
- App
-
def
exitOnError(throwable: Throwable): Unit
- Attributes
- protected
- Definition Classes
- App
-
def
failfastOnFlagsNotParsed: Boolean
- Attributes
- protected
- Definition Classes
- App → App
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
val
flag: Flags
- Definition Classes
- App
-
def
flagWithKafkaDefault[T](key: String)(implicit arg0: Flaggable[T]): Flag[T]
- Definition Classes
- KafkaFlagUtils
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
group: String
- Definition Classes
- Lifecycle
-
def
handle(clazz: Class[_ <: Handler]): Unit
- Attributes
- protected
- Definition Classes
- TwitterServer
-
def
handle[T <: Handler]()(implicit arg0: Manifest[T]): Unit
- Attributes
- protected
- Definition Classes
- TwitterServer
-
def
handlers: List[() ⇒ Handler]
- Definition Classes
- Logging
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
httpExternalPort: Option[Int]
- Definition Classes
- Ports
-
def
httpsExternalPort: Option[Int]
- Definition Classes
- Ports
-
val
inferClassNamesFlag: Flag[Boolean]
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
info(marker: Marker, message: ⇒ Any, cause: Throwable): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
info(message: ⇒ Any, cause: Throwable): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
info(marker: Marker, message: ⇒ Any): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
info(message: ⇒ Any): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
infoResult[T](message: ⇒ String)(fn: ⇒ T): T
- Attributes
- protected[this]
- Definition Classes
- Logging
-
final
def
init(f: ⇒ Unit): Unit
- Attributes
- protected
- Definition Classes
- App
-
def
injector: Injector
- Definition Classes
- App
-
def
isDebugEnabled(marker: Marker): Boolean
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
isDebugEnabled: Boolean
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
isErrorEnabled(marker: Marker): Boolean
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
isErrorEnabled: Boolean
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
isInfoEnabled(marker: Marker): Boolean
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
isInfoEnabled: Boolean
- Attributes
- protected[this]
- Definition Classes
- Logging
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isReady(implicit permit: CanAwait): Boolean
- Definition Classes
- CloseAwaitably0 → Awaitable
-
def
isTraceEnabled(marker: Marker): Boolean
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
isTraceEnabled: Boolean
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
isWarnEnabled(marker: Marker): Boolean
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
isWarnEnabled: Boolean
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
javaModules: Collection[Module]
- Attributes
- protected
- Definition Classes
- App
-
def
javaOverrideModules: Collection[Module]
- Attributes
- protected
- Definition Classes
- App
-
def
kafkaFlag[T](key: String, default: ⇒ T)(implicit arg0: Flaggable[T]): Flag[T]
- Definition Classes
- KafkaFlagUtils
-
var
kafkaStreams: KafkaStreams
- Attributes
- protected
- Definition Classes
- KafkaStreamsTwitterServer
-
val
kafkaStreamsBuilder: StreamsBuilder
- Attributes
- protected[com.twitter.finatra.kafkastreams]
- Definition Classes
- KafkaStreamsTwitterServer
-
def
kafkaStreamsClientSupplier: KafkaClientSupplier
- Definition Classes
- StaticPartitioning → KafkaStreamsTwitterServer
-
val
levelFlag: Flag[Level]
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
libraryName: String
- Attributes
- protected
- Definition Classes
- TwitterServer → AdminHttpServer
-
def
linterRules: Seq[Rule]
- Definition Classes
- Linters
-
def
loadModules(): InstalledModules
- Attributes
- protected[com.twitter.inject]
- Definition Classes
- App
-
def
loadServiceBindings: Seq[Binding[_]]
- Attributes
- protected[this]
- Definition Classes
- App
-
final
def
logger: Logger
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
loggerFactories: List[LoggerFactory]
- Definition Classes
- Logging
-
final
def
loggerName: String
- Attributes
- protected[this]
- Definition Classes
- Logging
-
final
def
main(): Unit
- Definition Classes
- TwitterServer → App
-
final
def
main(args: Array[String]): Unit
- Definition Classes
- App
-
def
modules: Seq[Module]
- Attributes
- protected
- Definition Classes
- App
-
val
name: String
- Definition Classes
- App
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
nonExitingMain(args: Array[String]): Unit
- Definition Classes
- App
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
numApplicationInstances: Flag[Int]
- Attributes
- protected
- Definition Classes
- StaticPartitioning
-
val
numQueryablePartitions: Flag[Int]
- Attributes
- protected
-
final
def
onExit(f: ⇒ Unit): Unit
- Attributes
- protected
- Definition Classes
- App
-
def
onStateChange(newState: State, oldState: State): Unit
- Attributes
- protected
- Definition Classes
- KafkaStreamsTwitterServer
-
val
outputFlag: Flag[String]
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
overrideModules: Seq[Module]
- Attributes
- protected
- Definition Classes
- App
-
def
parseArgs(args: Array[String]): Unit
- Attributes
- protected[this]
- Definition Classes
- App
-
def
postInjectorStartup(): Unit
- Attributes
- protected
- Definition Classes
- KafkaStreamsTwitterServer → TwitterServer → App
-
def
postWarmup(): Unit
- Attributes
- protected
- Definition Classes
- KafkaStreamsTwitterServer → TwitterServer → App
-
final
def
postmain(f: ⇒ Unit): Unit
- Attributes
- protected
- Definition Classes
- App
-
def
prebindWarmup(): Unit
- Definition Classes
- Warmup
-
final
def
premain(f: ⇒ Unit): Unit
- Attributes
- protected
- Definition Classes
- App
-
def
producerFlagWithKafkaDefault[T](key: String)(implicit arg0: Flaggable[T]): Flag[T]
- Definition Classes
- KafkaFlagUtils
-
var
properties: Properties
- Attributes
- protected[com.twitter.finatra.kafkastreams]
- Definition Classes
- KafkaStreamsTwitterServer
-
def
queryableFinatraCompositeWindowStore[PK, SK, V](storeName: String, windowSize: Duration, allowedLateness: Duration, queryableAfterClose: Duration, primaryKeySerde: Serde[PK]): QueryableFinatraCompositeWindowStore[PK, SK, V]
Returns a queryable Finatra composite window store (composite windows contain composite keys which contain a primary and secondary key)
Returns a queryable Finatra composite window store (composite windows contain composite keys which contain a primary and secondary key)
- PK
Type of the primary key being queried
- SK
Type of the secondary key being queried
- V
Type of the value associated with the key being queried
- storeName
Name of the queryable store
- windowSize
Size of the windows being queried
- allowedLateness
Allowed lateness for the windows being queried
- queryableAfterClose
Time the window being queried will exist after closing
- primaryKeySerde
Serde of the primary key being queried which is used to determine which queryable store is responsible for they key being queried
- returns
A QueryableFinatraCompositeWindowStore
- Attributes
- protected
-
def
queryableFinatraKeyValueStore[PK, K, V](storeName: String, primaryKeySerde: Serde[PK]): QueryableFinatraKeyValueStore[PK, K, V]
Returns a queryable Finatra key value store
Returns a queryable Finatra key value store
- PK
Type of the primary key
- K
Type of the key being queried
- V
Type of the value associated with the key being queried
- storeName
Name of the queryable store
- primaryKeySerde
Serde of the primary key being queried which is used to determine which queryable store is responsible for they key being queried
- returns
A QueryableFinatraKeyValueStore
- Attributes
- protected
-
def
queryableFinatraWindowStore[K, V](storeName: String, windowSize: Duration, allowedLateness: Duration, queryableAfterClose: Duration, primaryKeySerde: Serde[K]): QueryableFinatraWindowStore[K, V]
Returns a queryable Finatra window store
Returns a queryable Finatra window store
- K
Type of the key being queried
- V
Type of the value associated with the key being queried
- storeName
Name of the queryable store
- windowSize
Size of the windows being queried
- allowedLateness
Allowed lateness for the windows being queried
- queryableAfterClose
Time the window being queried will exist after closing
- primaryKeySerde
Serde of the primary key being queried which is used to determine which queryable store is responsible for they key being queried
- returns
A QueryableFinatraWindowStore
- Attributes
- protected
-
def
ready(timeout: Duration)(implicit permit: CanAwait): QueryableState.this.type
- Definition Classes
- CloseAwaitably0 → Awaitable
-
def
requiredKafkaFlag[T](key: String, helpPrefix: String)(implicit arg0: Flaggable[T], arg1: Manifest[T]): Flag[T]
- Definition Classes
- KafkaFlagUtils
-
def
resolveFinagleClientsOnStartup: Boolean
- Attributes
- protected
- Definition Classes
- TwitterServer
-
def
result(timeout: Duration)(implicit permit: CanAwait): Unit
- Definition Classes
- CloseAwaitably0 → Awaitable
-
val
rollPolicyFlag: Flag[Policy]
- Attributes
- protected[this]
- Definition Classes
- Logging
-
val
rotateCountFlag: Flag[Int]
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
routes: Seq[Route]
- Definition Classes
- AdminHttpServer
-
final
def
run(): Unit
- Attributes
- protected
- Definition Classes
- TwitterServer → App
-
def
setExceptionHandler(streams: KafkaStreams): Unit
- Attributes
- protected
- Definition Classes
- KafkaStreamsTwitterServer
-
def
setup(): Unit
- Attributes
- protected
- Definition Classes
- TwitterServer
-
lazy val
shutdownTimer: Timer
- Attributes
- protected
- Definition Classes
- TwitterServer → App
-
def
start(): Unit
- Attributes
- protected
- Definition Classes
- TwitterServer
-
def
statsReceiver: StatsReceiver
- Definition Classes
- Stats
-
def
statsReceiverModule: Module
- Attributes
- protected
- Definition Classes
- TwitterServer
-
def
streamsProperties(config: KafkaStreamsConfig): KafkaStreamsConfig
- Attributes
- protected
- Definition Classes
- KafkaStreamsTwitterServer
-
def
streamsStatsReceiver: StatsReceiver
- Attributes
- protected
- Definition Classes
- KafkaStreamsTwitterServer
-
final
val
suppressGracefulShutdownErrors: Boolean
- Definition Classes
- TwitterServer → App
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
thriftPort: Option[Int]
- Definition Classes
- Ports
-
def
time[T](formatStr: String)(func: ⇒ T): T
- Attributes
- protected
- Definition Classes
- Logging
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
var
topology: Topology
- Attributes
- protected[com.twitter.finatra.kafkastreams]
- Definition Classes
- KafkaStreamsTwitterServer
-
def
trace(marker: Marker, message: ⇒ Any, cause: Throwable): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
trace(message: ⇒ Any, cause: Throwable): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
trace(marker: Marker, message: ⇒ Any): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
trace(message: ⇒ Any): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
traceResult[T](message: ⇒ String)(fn: ⇒ T): T
- Attributes
- protected[this]
- Definition Classes
- Logging
-
implicit
def
transformerFunctionToSupplier[K, V, K1, V1](transformerFactory: () ⇒ Transformer[K, V, (K1, V1)]): TransformerSupplier[K, V, KeyValue[K1, V1]]
- Definition Classes
- ScalaStreamsImplicits
-
def
uncaughtException: Throwable
- Definition Classes
- KafkaStreamsTwitterServer
-
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
warmup(): Unit
- Attributes
- protected
- Definition Classes
- TwitterServer → App
-
def
warmupComplete(): Unit
- Definition Classes
- Warmup
-
def
warn(marker: Marker, message: ⇒ Any, cause: Throwable): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
warn(message: ⇒ Any, cause: Throwable): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
warn(marker: Marker, message: ⇒ Any): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
warn(message: ⇒ Any): Unit
- Attributes
- protected[this]
- Definition Classes
- Logging
-
def
warnResult[T](message: ⇒ String)(fn: ⇒ T): T
- Attributes
- protected[this]
- Definition Classes
- Logging
Deprecated Value Members
-
lazy val
log: Logger
- Definition Classes
- DeprecatedLogging → Logging
- Annotations
- @deprecated
- Deprecated
(Since version 2017-10-06) For backwards compatibility only.