Class PostgreSqlKafkaOffsetStoreSettings
Inheritance
PostgreSqlKafkaOffsetStoreSettings
Assembly: Silverback.Storage.PostgreSql.dll
Syntax
public record PostgreSqlKafkaOffsetStoreSettings : KafkaOffsetStoreSettings, IValidatableSettings, IEquatable<KafkaOffsetStoreSettings>, IDatabaseConnectionSettings, IEquatable<PostgreSqlKafkaOffsetStoreSettings>
Constructors
PostgreSqlKafkaOffsetStoreSettings(PostgreSqlKafkaOffsetStoreSettings)
Declaration
protected PostgreSqlKafkaOffsetStoreSettings(PostgreSqlKafkaOffsetStoreSettings original)
Parameters
PostgreSqlKafkaOffsetStoreSettings(string)
Declaration
public PostgreSqlKafkaOffsetStoreSettings(string connectionString)
Parameters
| Type |
Name |
Description |
| string |
connectionString |
The connection string to the PostgreSql database.
|
Properties
ConnectionString
Gets the connection string to the PostgreSql database.
Declaration
public string ConnectionString { get; }
Property Value
CreateTableTimeout
Gets the timeout for the table creation. The default is 30 seconds.
Declaration
public TimeSpan CreateTableTimeout { get; init; }
Property Value
DbCommandTimeout
Gets the database command timeout. The default is 10 seconds.
Declaration
public TimeSpan DbCommandTimeout { get; init; }
Property Value
EqualityContract
Declaration
protected override Type EqualityContract { get; }
Property Value
Overrides
TableName
Gets the name of the Kafka offset store table. The default is "SilverbackKafkaOffsets".
Declaration
public string TableName { get; init; }
Property Value
Methods
Equals(KafkaOffsetStoreSettings?)
Declaration
public override sealed bool Equals(KafkaOffsetStoreSettings? other)
Parameters
Returns
Overrides
Equals(PostgreSqlKafkaOffsetStoreSettings?)
Declaration
public virtual bool Equals(PostgreSqlKafkaOffsetStoreSettings? other)
Parameters
Returns
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected override bool PrintMembers(StringBuilder builder)
Parameters
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Validate()
Declaration
public override void Validate()
Overrides
Operators
operator ==(PostgreSqlKafkaOffsetStoreSettings?, PostgreSqlKafkaOffsetStoreSettings?)
Declaration
public static bool operator ==(PostgreSqlKafkaOffsetStoreSettings? left, PostgreSqlKafkaOffsetStoreSettings? right)
Parameters
Returns
operator !=(PostgreSqlKafkaOffsetStoreSettings?, PostgreSqlKafkaOffsetStoreSettings?)
Declaration
public static bool operator !=(PostgreSqlKafkaOffsetStoreSettings? left, PostgreSqlKafkaOffsetStoreSettings? right)
Parameters
Returns
Implements