You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by nk...@apache.org on 2021/05/24 02:19:25 UTC

[pulsar-client-node] branch master updated: add orderingKey type (#158)

This is an automated email from the ASF dual-hosted git repository.

nkurihar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-node.git


The following commit(s) were added to refs/heads/master by this push:
     new 6118960  add orderingKey type (#158)
6118960 is described below

commit 61189605a45b8cd17b456045ef6ad46345ce9ef8
Author: Yuto Furuta <mz...@gmail.com>
AuthorDate: Mon May 24 11:19:20 2021 +0900

    add orderingKey type (#158)
    
    Co-authored-by: Yuto Furuta <yf...@yahoo-corp.jp>
---
 index.d.ts | 1 +
 tstest.ts  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/index.d.ts b/index.d.ts
index 63151c3..50161e1 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -122,6 +122,7 @@ export interface ProducerMessage {
   eventTimestamp?: number;
   sequenceId?: number;
   partitionKey?: string;
+  orderingKey?: string;
   replicationClusters?: string[];
   deliverAfter?: number;
   deliverAt?: number;
diff --git a/tstest.ts b/tstest.ts
index 16be59b..867052b 100644
--- a/tstest.ts
+++ b/tstest.ts
@@ -191,6 +191,7 @@ import Pulsar = require('./index');
     eventTimestamp: Date.now(),
     sequenceId: 10,
     partitionKey: 'key1',
+    orderingKey: 'orderingKey1',
     replicationClusters: [
       'cluster1',
       'cluster2',