Commit Graph

23 Commits

Author SHA1 Message Date
Srikanth Chekuri 71781d3964
updating changelogs and version to 1.15.0-0.36b0 (#1482) 2022-12-10 02:33:51 +05:30
Robert Ayrapetyan ffb995d28b
opentelemetry-instrumentation-kafka-python: wait for metadata (#1260)
* fix kafka: wait for metadata

Kafka's instance metadata could be unavailable (because it's being filled asynchronously). extract_send_partition() is based on a metadata, so it may return `None` for partition and later cause all type of warning messages (e.g. `Invalid type NoneType for attribute value. Expected one of ['bool', 'str', 'bytes', 'int', 'float'] or a sequence of those types`).
The proposed fix makes sure metadata is pre-populated (based on 4d598055da/kafka/producer/kafka.py (L579)).
I'm just not sure if we should wrap `_wait_on_metadata` into try\except, maybe just passing Exception to the caller would be a better idea...

* upd: changelog

* fix: changelog

* fix: import KafkaErrors

* fix: tox -e lint errors

* fix: refact and added unit test

Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Leighton Chen <lechen@microsoft.com>
Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com>
2022-11-15 12:42:56 +00:00
Leighton Chen af972a07a9
Create RELEASING.md, Update version to 1.15.0.dev/0.36b0.dev (#1429) 2022-11-03 13:26:58 -07:00
Leighton Chen 05e23cd280
[release/v1.14.x-0.35bx] Prepare release 1.14.0/0.35b0 (#1428) 2022-11-03 10:30:35 -07:00
Leighton Chen 5c67dee23d
Change to use local dev versions (#1425) 2022-11-02 10:19:40 -07:00
Srikanth Chekuri 38d384a2ae
Add support for py3.11 (#1415) 2022-10-31 21:19:50 +00:00
Srikanth Chekuri b2923e02fa
updating changelogs and version to 1.13.0-0.34b0 (#1352) 2022-09-27 03:12:18 +05:30
Ofek Lev e80539cf6f
Update package metadata opentelemetry-instrumentation-kafka-python (#1283) 2022-09-14 00:33:03 +05:30
Remi Rampin 3c24adf1b2
Fix broken links in package metadata (#1314) 2022-09-06 20:15:51 +00:00
Diego Hurtado 03d97ffaf9
Remove support for 3.6 (#853) 2022-08-25 23:32:04 +05:30
Diego Hurtado 7625b82dff
Release 1.12.0-0.33b0 (#1223)
* Release 1.12.0-0.33b0

* Update API and SDK versions to 1.12
2022-08-09 21:32:17 +02:00
Diego Hurtado ee4083982f
Release 1.12.0rc2-0.32b0 (#1174) 2022-07-04 15:14:50 +02:00
Alan Isaac 100ecfeb08
updated type hints for getters and setters (#1106) 2022-05-29 06:02:14 +05:30
Diego Hurtado 10659f8970
Release 1.12.0rc1-0.31b0 (#1094) 2022-05-17 13:18:55 -06:00
Srikanth Chekuri b6964ccf3a
Release 1.11.1-0.30b1 (#1067) 2022-04-22 02:29:17 +05:30
Leighton Chen 3ca7e7a5a3
Release 1.11.0-0.30b0 (#1056) 2022-04-18 10:04:18 -07:00
Ran Nozik 8fc95cab64
support topic as kwarg (#949) 2022-03-14 09:38:46 -07:00
Diego Hurtado 7a0caed36f
updating changelogs and version to 1.10.0-0.29b0 (#995) (#996) 2022-03-10 17:49:49 -06:00
Remi Rampin 7bb29bd9ab
Fix typos (#929) 2022-03-02 14:03:34 -08:00
Owais Lone c8020cbea5
updating changelogs and version to 1.9.1-0.28b1 (#887)
* updating changelogs and version to 1.9.1-0.28b1

* Update CHANGELOG.md

Co-authored-by: Nathaniel Ruiz Nowell <enruizno@uwaterloo.ca>

* Update CHANGELOG.md

Co-authored-by: Nathaniel Ruiz Nowell <enruizno@uwaterloo.ca>

Co-authored-by: Nathaniel Ruiz Nowell <enruizno@uwaterloo.ca>
2022-01-31 09:40:29 +00:00
Ran Nozik ef7769c86e
fix: safe kafka partition extraction (#872)
* safe partition extraction

* update changelog
2022-01-28 21:32:50 +05:30
Owais Lone f9b4d2b864
updating changelogs and version to 1.9.0-0.28b0 (#875) 2022-01-26 12:00:44 -06:00
ItayGibel-helios e67a728be5
kafka-python instrumentation (#814) 2022-01-10 09:55:52 -08:00