Show / Hide Table of Contents

    Interface IInMemoryTopicCollection

    The collection of Silverback.Messaging.Broker.Kafka.Mocks.InMemoryTopic being used in the current session.

    Inherited Members
    IReadOnlyCollection<IInMemoryTopic>.Count
    IEnumerable<IInMemoryTopic>.GetEnumerator()
    Namespace: Silverback.Messaging.Broker.Kafka.Mocks
    Assembly: Silverback.Integration.Kafka.Testing.dll
    Syntax
    public interface IInMemoryTopicCollection : IReadOnlyCollection<IInMemoryTopic>, IEnumerable<IInMemoryTopic>, IEnumerable

    Methods

    Get(string, ClientConfig)

    Gets the topic with the specified name or creates it on the fly.

    Declaration
    IInMemoryTopic Get(string name, ClientConfig clientConfig)
    Parameters
    Type Name Description
    string name

    The name of the topic.

    ClientConfig clientConfig

    The client configuration.

    Returns
    Type Description
    IInMemoryTopic

    The in-memory topic.

    Get(string, string)

    Gets the topic with the specified name or creates it on the fly.

    Declaration
    IInMemoryTopic Get(string name, string bootstrapServers)
    Parameters
    Type Name Description
    string name

    The name of the topic.

    string bootstrapServers

    The bootstrap servers string used to identify the target broker.

    Returns
    Type Description
    IInMemoryTopic

    The in-memory topic.

    GitHub E-Mail
    ↑ Back to top © 2026 Sergio Aquilini