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

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


The following commit(s) were added to refs/heads/master by this push:
     new f5667b24 fix: fix schema error (#823)
f5667b24 is described below

commit f5667b249a7740764cd5046045bf3dab8341d389
Author: Lei Zhiyuan <leizhiy...@gmail.com>
AuthorDate: Mon Oct 23 22:00:58 2023 +0800

    fix: fix schema error (#823)
    
    Co-authored-by: zhiyuanlei <zhiyuan...@tencent.com>
---
 pulsar/schema.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pulsar/schema.go b/pulsar/schema.go
index 5c063e32..fd9d412d 100644
--- a/pulsar/schema.go
+++ b/pulsar/schema.go
@@ -54,7 +54,7 @@ const (
        _                             //
        _                             //
        KeyValue                      //A Schema that contains Key Schema and 
Value Schema.
-       BYTES       = -1              //A bytes array.
+       BYTES       = 0               //A bytes array.
        AUTO        = -2              //
        AutoConsume = -3              //Auto Consume Type.
        AutoPublish = -4              // Auto Publish Type.

Reply via email to