Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NextSequenceID ¶
func NextSequenceID(db *gorm.DB, name SequenceName) (int64, error)
Types ¶
type SchemaReference ¶
type SchemaType ¶
type SchemaType string
const ( SchemaTypeAvro SchemaType = "AVRO" SchemaTypeJSON SchemaType = "JSON" SchemaTypeProtobuf SchemaType = "PROTOBUF" )
type Sequence ¶
type Sequence struct { Name SequenceName `gorm:"primarykey"` NextValue int64 }
type SequenceName ¶
type SequenceName string
const (
SequenceNameSchemaIDs SequenceName = "SCHEMA_IDS"
)
type SubjectCompatibility ¶
type SubjectCompatibility string
const ( SubjectCompatibilityBackward SubjectCompatibility = "BACKWARD" SubjectCompatibilityBackwardTransitive SubjectCompatibility = "BACKWARD_TRANSITIVE" SubjectCompatibilityForward SubjectCompatibility = "FORWARD" SubjectCompatibilityForwardTransitive SubjectCompatibility = "FORWARD_TRANSITIVE" SubjectCompatibilityFull SubjectCompatibility = "FULL" SubjectCompatibilityFullTransitive SubjectCompatibility = "FULL_TRANSITIVE" SubjectCompatibilityNone SubjectCompatibility = "NONE" )
Click to show internal directories.
Click to hide internal directories.