Packages

p

com.goldensource

kafkautils

package kafkautils

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. kafkautils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait BrokerClient extends AnyRef

    Serves as base trait for the Kafka client configuration creator objects.

  2. class MessageConsumerConfiguration extends AnyRef

    Represents the configuration of the Message Receiver actor.

  3. trait MessageConsumerFactory extends AnyRef

    Trait that abstracts the actual factory used to create Apache Kafka messages consumption streams.

  4. class MessageProducer extends AnyRef

    Client that is to be used when desired to send messages through Apache Kafka.

  5. class MessageProducerConfiguration extends AnyRef

    Represents the configuration of the Message Sender actor.

  6. type StreamMessage = CommittableMessage[String, Array[Byte]]

    Aliases the type of object received when pre-processing a message from a Kafka topic.

  7. trait Unique extends AnyRef

    Trait that contains the concept of the a collision-free identifier.

Value Members

  1. 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.

  2. 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.

  3. object MessageConsumerFactory extends MessageConsumerFactory

    Factory class to create a kafka consuming stream.

  4. object MessageProducerConfiguration extends BrokerClient

    Contains factory methods to easily build instances of the com.goldensource.kafkautils.MessageProducer actor using default or provided configuration.

  5. object Unique

    Contains the method that is used to generate unique ids.

Inherited from AnyRef

Inherited from Any

Ungrouped