Ask or search…
⌃K
Links
Comment on page

Management

Create a new Schema

GUI
Code
Head to "Schemaverse" on the left menu.
Click on "Create from blank"
More information on each format can be found under the produce/consume section.
Javascript
1
await memphisConnection.createSchema({schemaName: "<schema-name>", schemaType: "<schema-type>", schemaFilePath: "<schema-file-path>" });
Python
1
await memphis.create_schema("<schema-name>", "<schema-type>", "<schema-file-path>")
Go
1
err := conn.CreateSchema("<schema-name>", "<schema-type>", "<schema-file-path>")
.NET
1
await client.CreateSchema("<schema-name>", "<schema-type>", "<schema-file-path>")

Detach a Schema

GUI
Code
Head to the designated station
Click on "Detach" on the upper-center panel
Please remember that detaching a schema will enable "any" events to get ingested by the station.
Javascript
1
await memphisConnection.detachSchema({ stationName: '<station-name>' });
Python
1
await memphis.detach_schema("<station-name>")
Go
1
err := conn.DetachSchema("<station-name>")
.NET
1
await client.DetachSchema(stationName: station.Name);

Enforce (attach) a Schema

GUI
Code
Head to the designated station. On the top-left corner, click on "Enforce schema"
Choose the required schema.
Javascript
1
await memphisConnection.enforceSchema({ name: '<schema-name>', stationName: '<station-name>' });
Python
1
await memphis.enforce_schema("<schema-name>", "<station-name>")
Go
1
err := conn.EnforceSchema("<schema-name>", "<station-name>")
.NET
1
await client.EnforceSchema(stationName: "<station-name>", schemaName: "<schema-name>");
Last modified 3mo ago