package kafkautils
- Alphabetic
- By Inheritance
- kafkautils
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
BrokerClient extends AnyRef
Serves as base trait for the Kafka client configuration creator objects.
-
class
MessageConsumerConfiguration extends AnyRef
Represents the configuration of the Message Receiver actor.
-
trait
MessageConsumerFactory extends AnyRef
Trait that abstracts the actual factory used to create Apache Kafka messages consumption streams.
-
class
MessageProducer extends AnyRef
Client that is to be used when desired to send messages through Apache Kafka.
-
class
MessageProducerConfiguration extends AnyRef
Represents the configuration of the Message Sender actor.
-
type
StreamMessage = CommittableMessage[String, Array[Byte]]
Aliases the type of object received when pre-processing a message from a Kafka topic.
-
trait
Unique extends AnyRef
Trait that contains the concept of the a collision-free identifier.
Value Members
-
def
safeGet[T](getter: (Config) ⇒ T, default: T)(implicit configuration: Config): T
Allows to safely obtain a setting from a configuration file and put a default value if for some reason a failure preventing the setting value from being obtained.
Allows to safely obtain a setting from a configuration file and put a default value if for some reason a failure preventing the setting value from being obtained.
- T
Type of the desired value.
- getter
A function that given the Config object it returns the wanted setting value.
- default
Default value in case the setting does not exist or an error prevented its initialization.
- configuration
The action Config object from which to extract the settings values.
- returns
The value of type T that was gotten from the setting or a default value instead.
-
object
MessageConsumerConfiguration extends BrokerClient
Contains a factory method that allows to build a com.goldensource.kafkautils.MessageConsumerConfiguration instance from a topics set and with a group id to identifier the consumers.
-
object
MessageConsumerFactory extends MessageConsumerFactory
Factory class to create a kafka consuming stream.
-
object
MessageProducerConfiguration extends BrokerClient
Contains factory methods to easily build instances of the com.goldensource.kafkautils.MessageProducer actor using default or provided configuration.
-
object
Unique
Contains the method that is used to generate unique ids.