@transai/connector-runner-file-source 0.53.15 → 0.53.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,10 @@
1
+ import { KafkaJS } from '@confluentinc/kafka-javascript';
2
+ export interface MultiPartitionTopic {
3
+ topic: string;
4
+ partitions: number;
5
+ }
6
+ /**
7
+ * Finds the topics that have more than one partition. Per-topic ordering and
8
+ * back-pressure only hold for single-partition topics, so callers warn on these.
9
+ */
10
+ export declare const findMultiPartitionTopics: (admin: Pick<KafkaJS.Admin, "connect" | "disconnect" | "fetchTopicMetadata">, topics: Array<string>) => Promise<Array<MultiPartitionTopic>>;
@@ -5,6 +5,7 @@ export declare class RdKafkaLogsService extends AbstractRdKafkaService {
5
5
  protected initialized: boolean;
6
6
  setResponseCallbackFunction(callbackFunction: (message: XodResponseType) => Promise<void>): void;
7
7
  init: () => Promise<void>;
8
+ private warnOnMultiPartitionTopics;
8
9
  private consume;
9
10
  send(messages: Array<XodBaseMessageType>, topic: string): Promise<boolean>;
10
11
  sendIndividual(messages: Array<XodBaseMessageType>, topic: string): Promise<boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transai/connector-runner-file-source",
3
- "version": "0.53.15",
3
+ "version": "0.53.16",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },