bedrockstreaming / cassandrabundle Goto Github PK
View Code? Open in Web Editor NEW:no_entry: DEPRECATED - Symfony bundle on top of the datastax cassandra component
License: MIT License
:no_entry: DEPRECATED - Symfony bundle on top of the datastax cassandra component
License: MIT License
Hello,
is it possible not to set the "protocol_version" property in the configuration ?
Thank you
When we don't define the ssl
config option, client creation fails with message
Argument 1 passed to Cassandra\Cluster\Builder::withSSL() must be an instance of Cassandra\SSLOptions, boolean given
Hi,
From version 2.1.0 you are telling on composer.json
that your library is compatible with php 5.6 or above.
You're using the ?? in CassandraDataCollector
though, making it 7.0 or above compliant.
Could you change this, by making a version compatible with 56 (like isset($a['a'])? $a['a'] : '';), and another one with the composer.json modified?
Thanks
Hi,
I'd like to add a version after the 1.1.2, to be able to use the datastax versions 1.2 and 1.3.
As there is no branch linked to this version I can't create this PR.
Is it possible to create it?
Thanks
afin d'éviter les déploiements foireux
https://github.com/datastax/php-driver/blob/master/ext/README.md
Since the cassandra beta driver released, the ExecutionOptions class don't expose public properties anymore.
Waiting response from datastax to know if they will correct this.
A fix is on the way in case they don't want expose execution option properties
Hello.
I noticed a compatibility problem with Symfony 4. Indeed, a new method reset() appeared for the interface Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface .
Here, the commit:
symfony/http-kernel@afee8cb#diff-fafaa73029c93472d7a69e7c75c11cc7
So, it causes an error because of the class M6Web\Bundle\CassandraBundle\DataCollector\CassandraDataCollector . Add a method to this class fixes the problem.
For example:
/** * {@inheritdoc} */ public function reset() { $this->data['cassandra'] = new \SplQueue(); }
Thanks.
Symfony 4 can't load the service, since all services are set to private by default.
This can be fixed by setting the service to public inside the M6WebCassandraExtension class.
Notice: $definition->setPublic(true);
protected function loadClient(ContainerBuilder $container, $clientId, array $config)
{
$class = 'M6Web\Bundle\CassandraBundle\Cassandra\Client';
$definition = new Definition($class);
$definition->addArgument($config);
$definition->setConfigurator(['M6Web\Bundle\CassandraBundle\Cassandra\Configurator', 'buildCluster']);
// set service to public
$definition->setPublic(true);
if ($config['dispatch_events']) {
$definition->addMethodCall('setEventDispatcher', [new Reference('event_dispatcher')]);
}
$container->setDefinition('m6web_cassandra.client.'.$clientId, $definition);
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.