mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
issue: #38399 - Add new rpc for transfer broadcast to streaming coord - Add broadcast service at streaming coord to make broadcast message sent automicly Signed-off-by: chyezh <chyezh@outlook.com>
15 lines
383 B
Go
15 lines
383 B
Go
package broadcaster
|
|
|
|
import (
|
|
"github.com/milvus-io/milvus/internal/distributed/streaming"
|
|
"github.com/milvus-io/milvus/internal/util/streamingutil"
|
|
)
|
|
|
|
// NewAppendOperator creates an append operator to handle the incoming messages for broadcaster.
|
|
func NewAppendOperator() AppendOperator {
|
|
if streamingutil.IsStreamingServiceEnabled() {
|
|
return streaming.WAL()
|
|
}
|
|
return nil
|
|
}
|