クラスの使用
org.springframework.rabbit.stream.config.SuperStreamBuilder
SuperStreamBuilder を使用するパッケージ
org.springframework.rabbit.stream.config 内の SuperStreamBuilder 使用
修飾子と型メソッド説明SuperStreamBuilder.initialClusterSize(int count) 各パーティションの初期レプリケーション係数を設定します。ストリームごとの最大保存期間を設定します。これにより、最も古いデータが削除されます。SuperStreamBuilder.maxLength(long bytes) 各ストリームの保持構成として最大ログサイズを設定します。これにより、データサイズに基づいてログが切り捨てられます。SuperStreamBuilder.maxSegmentSize(long bytes) セグメントファイルの最大サイズ制限を設定します。ストリーム名を設定します。SuperStreamBuilder.partitions(int partitions) パーティション番号を設定します。SuperStreamBuilder.routingKeyStrategy(BiFunctionSE<StringSE, IntegerSE, ListSE<StringSE>> routingKeyStrategy) パーティションに使用するルーティングキーを決定する戦略を設定します。static SuperStreamBuilderSuperStreamBuilder.superStream(StringSE name) スーパーストリームのビルダーを作成します。static SuperStreamBuilderSuperStreamBuilder.superStream(StringSE name, int partitions) スーパーストリームのビルダーを作成します。SuperStreamBuilder.withArgument(StringSE key, ObjectSE value) ビルダーのメソッドではカバーされない追加の引数を設定します。