apache / apache/pulsar-client-python

exceptions must derive from BaseException

Đang mở
#132 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
75
Fork
53
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.

### Version

3.1.0

### Minimal reproduce step

def callback(self,res):
self.logger.info(f"Message published,data={res}")
producer = self.client.create_producer(topic, compression_type=pulsar.CompressionType.LZ4 )
producer.send_async(send_message, self.callback(one_data))

### What did you expect to see?

mmm

### What did you see instead?

mmmm

### Anything else?

_No response_

### Are you willing to submit a PR?

- [X] I'm willing to submit a PR!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

No source file or test is named. Start by running the minimal Python example against the 3.1.0 client and inspect how send_async receives the callback; compare the resulting exception with the issue title. Done means the reported exception behavior is reproduced, its originating client path is identified, and coverage exists for the corrected behavior.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
api, distributed-systems
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.