RecordDeserializer

sealed abstract class RecordDeserializer[F[_], A]

Deserializer which may vary depending on whether a record key or value is being deserialized, and which may require a creation effect.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def forKey: F[KeyDeserializer[F, A]]

Concrete methods

final def attempt(implicit F: Functor[F]): RecordDeserializer[F, Either[Throwable, A]]

Returns a new RecordDeserializer instance that will catch deserialization errors and return them as a value, allowing user code to handle them without causing the consumer to fail.

Returns a new RecordDeserializer instance that will catch deserialization errors and return them as a value, allowing user code to handle them without causing the consumer to fail.