export interface ProducerOptions { topic_id: string; endpoint: string; credential: Credential; sourceIp?: string; sendTimeout?: number; time?: number; count?: number; onSendLogsError?: (res: any) => void; maxMemLogCount?: number; } export interface Credential { secretId: string; secretKey: string; token?: string; }