Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open the ModelOp Runtime to which you want to add endpoints

...

2. Select the “Create Endpoint” button for either the input or output endpoints

...

3. Select Click the button on the right to add either an endpoint, Input endpoint or Output endpoint. Choose either REST or Kafka:

...

REST Endpoints

  1. Add a Name, optional Description, Encoding type, and optional port. Select “Save Endpoint”

...

  1. Kafka endpoints require several fields, as detailed in the screenshot and table below.

...

Field

Type

Description

Example

Name

string

A user-supplied name for the endpoint

“MyKafkaEndpoint1”

Description

string

A user-supplied description for the endpoint

“Kafka Endpoint for consumer transactions”

Encoding

drop-down

The encoding used for serialization/deserialization of the kafka messages

json

BootstrapServers

string

The name and port of the Kafka bootstrap servers.

"kafka1:9002"

Group (Consumer Group)

(optional)

string

To provide a horizontally scalable solution, a Consumer Group can be used to allow load balancing of requests across multiple ModelOp runtimes. By defining a Consumer Group, ModelOp Center ensures that only one ModelOp runtime in the Consumer Group services a given message.

"fastscore-1"

Principal (optional)

string

An authenticated user in a secure cluster

"kafka/kafka@REALM"

Topic

string

The Kafka topic to consume or push to, depending on if input vs. output endpoint

"MyKafkaTopic"

Keyfile (optional)

string

The location of the keytab file containing pairs of Kerberos principals and encrypted keys

"/fastscore.keytab"

...