object LocalstackKinesisClient
Like KinesisClient, but also includes the LocalstackProxy middleware, and leverages mock AWS credentials
- Alphabetic
- By Inheritance
- LocalstackKinesisClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clientResource[F[_]](client: Client[F], region: F[AwsRegion], prefix: Option[String] = None, loggerF: (Async[F]) => F[StructuredLogger[F]] = (f: Async[F]) =>
f.pure(NoOpLogger[F](f)))(implicit F: Async[F], LE: LogEncoders[F], LELC: LogEncoder[LocalstackConfig]): Resource[F, KinesisClient[F]]Creates a Resource of a KinesisClient that is compatible with Localstack
Creates a Resource of a KinesisClient that is compatible with Localstack
- client
- region
- prefix
Optional string prefix to apply when loading configuration. Default to None
- loggerF
Async => Async of StructuredLogger. Default is NoOpLogger
- F
- returns
- def clientResource[F[_]](client: Client[F], region: F[AwsRegion], config: LocalstackConfig, loggerF: (Async[F]) => F[StructuredLogger[F]])(implicit F: Async[F], LE: LogEncoders[F], LELC: LogEncoder[LocalstackConfig]): Resource[F, KinesisClient[F]]
Creates a Resource of a KinesisClient that is compatible with Localstack
Creates a Resource of a KinesisClient that is compatible with Localstack
- client
- region
- config
- loggerF
Async => Async of StructuredLogger.
- F
- returns
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def localstackHttp4sClient[F[_]](client: Client[F], config: LocalstackConfig, loggerF: (Async[F]) => F[StructuredLogger[F]])(implicit F: Async[F], LE: LogEncoders[F], LELC: LogEncoder[LocalstackConfig]): F[Client[F]]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def streamResource[F[_]](http4sClient: Client[F], region: F[AwsRegion], streamName: String, shardCount: Int, prefix: Option[String] = None, describeRetries: Int = 5, describeRetryDuration: FiniteDuration = 500.millis, loggerF: (Async[F]) => F[StructuredLogger[F]] = (f: Async[F]) =>
f.pure(NoOpLogger(f)))(implicit F: Async[F], LE: LogEncoders[F], LELC: LogEncoder[LocalstackConfig]): Resource[F, KinesisClient[F]]A resources that does the following:
A resources that does the following:
- Builds a KinesisClient that is compliant for Localstack usage.
- Creates a stream with the desired name and shard count, and waits until the stream is active.
- Destroys the stream when the Resource is closed
- streamName
Stream name
- shardCount
Shard count for stream
- prefix
Optional prefix for parsing configuration. Default to None
- describeRetries
How many times to retry DescribeStreamSummary when checking the stream status. Default to 5
- describeRetryDuration
How long to delay between retries of the DescribeStreamSummary call. Default to 500 ms
- F
F with an Async instance
- LE
- returns
- def streamResource[F[_]](http4sClient: Client[F], region: F[AwsRegion], config: LocalstackConfig, streamName: String, shardCount: Int, describeRetries: Int, describeRetryDuration: FiniteDuration, loggerF: (Async[F]) => F[StructuredLogger[F]])(implicit F: Async[F], LE: LogEncoders[F], LELC: LogEncoder[LocalstackConfig]): Resource[F, KinesisClient[F]]
A resources that does the following:
A resources that does the following:
- Builds a KinesisClient that is compliant for Localstack usage.
- Creates a stream with the desired name and shard count, and waits until the stream is active.
- Destroys the stream when the Resource is closed
- config
- streamName
Stream name
- shardCount
Shard count for stream
- describeRetries
How many times to retry DescribeStreamSummary when checking the stream status
- describeRetryDuration
How long to delay between retries of the DescribeStreamSummary call
- F
F with an Async instance
- LE
- returns
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])