[
https://issues.apache.org/jira/browse/CASSPYTHON-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18112306#comment-18112306
]
Bohdan Siryk commented on CASSPYTHON-29:
----------------------------------------
Hi [~swsekar] [~absurdfarce], I didn't find any patches / PRs for this ticket,
so I decided to work on this myself. Please correct me if I'm wrong and this is
already in work.
Anyway, I put an implementation here (1), so if there was no work done yet I
can prepare a PR. I decided to ignore options such as COMPRESSION, DRIVER_NAME,
etc. for extra options and just log a warning. They're extra options so I guess
it makes sense :).
(1) -
[https://github.com/apache/cassandra-python-driver/compare/trunk...worryg0d:cassandra-python-driver:casspython-29?expand=1]
> Allow user to specify arbitrary parameters for STARTUP message
> --------------------------------------------------------------
>
> Key: CASSPYTHON-29
> URL: https://issues.apache.org/jira/browse/CASSPYTHON-29
> Project: Apache Cassandra Python driver
> Issue Type: Improvement
> Components: Core
> Reporter: Swathi Sekar
> Assignee: Swathi Sekar
> Priority: Normal
>
> *Summary*
> The driver should send the client's application name and version as
> `APPLICATION_NAME` /
> `APPLICATION_VERSION` options in the STARTUP message.
> This brings the Python driver in line with the C++ driver (since 2.11.0, via
> `cass_cluster_set_application_name()` /
> `cass_cluster_set_application_version()`) and the Java
> driver (since 4.4.0, via `SessionBuilder.withApplicationName` /
> `withApplicationVersion`).
> *More info*
> `Cluster` already accepts `application_name`, `application_version` but they
> are
> documented as Insights-only and are consumed solely by
> `cassandra/datastax/insights/reporter.py`. They are never sent over the
> native protocol.
> This change would add them to the STARTUP options map.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]