Server 端如果 `auto.create.topics.enable` 设置为 true 时,那么当 Producer 向一个不存在的 topic 发送数据时,该 topic 同样会被创建出来,此时,副本数默认是 1。## 三、Topic 的创建流程### 3.1 Topic 创建入口首先我们找到 kafka-topics.sh 这个脚本,看下里面的内容:```exec $(dirname $0)/kafka-run-class.sh kafka.admin.TopicCommand "$@"```最终执行的是 kafka.admin.TopicCommand 该类,源码中找到该类,用 ID...
回调变更变更详情 功能模块 废弃的类/接口 替代的类/接口 说明 删除 主回调类 IRTCEngineEventHandler IRTCVideoEventHandler 参数变更 消息 virtual void onLogout() virtual void onLogout(LogoutReason reaso... 请至对应的类型详情中查看 TranscoderContentControlType MixedStreamMediaType TranscoderRenderMode MixedStreamRenderMode TranscoderLayoutRegionType MixedStreamLayoutRegionType TranscoderAudioCodecProfi...
ioFrameCallbackMethod音频回调方法 Defined in : IRTCVideo.cs 枚举值类型 值 说明 kAudioFrameCallbackRecord 0 本地麦克风录制的音频数据回调 OnRecordAudioFrameEventHandler kAudioFrameCallbackPlayback 1 订... kUserOfflineReasonDropped 1 远端用户因网络等原因掉线。 kUserOfflineReasonSwitchToInvisible 2 远端用户切换至隐身状态。 StreamRemoveReason csharp public enum bytertc.StreamRemoveReason房间内远端流被移...
回调变更变更详情 功能模块 废弃的类/接口 替代的类/接口 说明 删除 主回调类 IRTCEngineEventHandler IRTCVideoEventHandler 参数变更 消息 virtual void onLogout() virtual void onLogout(int reason) 在 onL... 请至对应的类型详情中查看 TranscoderContentControlType MixedStreamMediaType TranscoderRenderMode MixedStreamRenderMode TranscoderLayoutRegionType MixedStreamLayoutRegionType AACProfile MixedStreamAud...
ioMixingFrame disableAudioMixingFrame pushAudioMixingFrame NA openWithCustomSource pushExternalAudioFrame 混音回调接口 播放状态回调 onAudioMixingStateChanged setEventHandler onAudioEffectPlay... 请至对应的类型详情中查看 ByteRTCTranscoderContentControlType ByteRTCMixedStreamMediaType ByteRTCRenderMode ByteRTCMixedStreamRenderMode ByteRTCTranscoderLayoutRegionType ByteRTCMixedStreamLayoutRegi...
getCurrentUserID 获取当前用户 ID。 getToken 获取当前用户 Token。 login:token:completion: 登录服务器。 logoutWithCompletion: 登出服务器。 addConnectListener: 设置长链状态监听。 removeConnectListener... onAddAdmin:memberList:operatorID: 添加管理员 onRemoveAdmin:memberList:operatorID: 移除管理员。 onMemberInfoChanged:member: 成员信息变更。 onMarkTypesAdded:changeInfo: 新增标记类型。 onMarkTypesDele...
Code CodeN Message 描述 ErrScheduleResourceNotEnough 10800 Insufficient inventory 库存不足 ErrScheduleStorageTypeNotSupport 10806 Unsupported storage type 存储类型不支持 ErrInstanceTypeN... irNotFound 11023 Key pair not found 密钥对不存在 ErrDeleteCloudServerFailedPreCondition 11024 Unable to delete a cloud server that still have instance 删除的边缘服务中仍有实例存在 ErrCloudSe...
javascript Page({ pusherStateChange(e) { const target = e.detail; this.client.reportPusherStateChange( target.detail.code, target.detail.message, ); ... handleClientEvents() { if (this.client) { this.client.removeAllListeners(); } this.client.on(VolcEngineRTCMiniappSDK.EVENTS.STREAM_ADDED, (e) => { con...