toggle menu
http4k
6.15.0.1
jvm
switch theme
search in API
http4k-connect-kafka-schemaregistry-fake
/
org.http4k.connect.kafka.schemaregistry
/
FakeSchemaRegistry
Fake
Schema
Registry
class
FakeSchemaRegistry
(
mode
:
SchemaRegistrationMode
=
manual
,
val
schemas
:
Storage
<
Schema
>
=
Storage.InMemory()
)
:
ChaoticHttpHandler
Members
Constructors
Fake
Schema
Registry
Link copied to clipboard
constructor
(
mode
:
SchemaRegistrationMode
=
manual
,
schemas
:
Storage
<
Schema
>
=
Storage.InMemory()
)
Properties
schemas
Link copied to clipboard
val
schemas
:
Storage
<
Schema
>
Functions
behave
Link copied to clipboard
fun
behave
(
)
:
ChaosEngine
client
Link copied to clipboard
fun
client
(
)
:
SchemaRegistry
Convenience function to get a FakeSchemaRegistry client
invoke
Link copied to clipboard
open
operator override
fun
invoke
(
request
:
Request
)
:
Response
misbehave
Link copied to clipboard
fun
misbehave
(
stage
:
Stage
)
:
ChaosEngine
fun
misbehave
(
behaviour
:
Behaviour
)
:
ChaosEngine
return
Status
Link copied to clipboard
fun
returnStatus
(
status
:
Status
)
:
ChaosEngine