apache / apache/pulsar

sending timestamps or dates within a schema

Open
#11,409 1 comment 0 reactions 0 assignees View on GitHub
lifecycle/stale type/enhancement
Dominant language
Java
Stars
15.3k
Forks
3.8k
Avg merge
1d 14h
Merged PRs (30d)
160

Description

When using my python client, I don't find a way to assign to the data I want to send, the type **timestamp** or **date**.
The only data types I can use are ones that can be found in :
https://github.com/apache/pulsar/blob/5ad405988fabb4b28dbdbd5aa5c9a10802f39af1/pulsar-client-cpp/python/pulsar/schema/__init__.py

How can I send timestamps or dates?

I would really like this to be possible!

Contributor guide

Open the contributing guide

Research direction

Start with pulsar-client-cpp/python/pulsar/schema/__init__.py and review how the Python client represents the currently supported schema types. Trace the schema serialization and validation path to determine the scope for timestamp and date values, then identify or add focused coverage. Done means the client can send both requested value types through a schema.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.