I was investigating "What's the difference between BigQuery and BigTable?".
And found that BigTable is like traditional database.
Also I found that for current moment Spring supports BigQuery but doesn't support BigTable. It is a bit surprising for me. Could you please explain why?
Is there way to use BigTable from spring boot application?
Related
I am working on PoC of connecting legacy Spring application to Kafka. It is war application to be deployed in Tomcat, Spring version 4.3.12. Is there some library to make communication with Kafka almost as easy as with Spring Boot? I need just fundamental operations: sending message, listening for confirmation, receiving.
I have some experience with Spring Boot support as is provided in org.springframework.kafka:spring-kafka library. I am not sure how to efficiently adopt Kafka for legacy Spring - I'm thinking of using Kafka Java client which looks promising but as I am used to working at Spring Boot abstraction level I don't have clue how much code should I supply myself.
Web search is not much helpful in this case since it tends to show Spring Boot-related solutions. Migration of legacy application is considered too, I just need to have some idea how difficult each way is.
kafka-clients is all you need (from Maven Central, not Confluent). You could go a step further and look into Log4j2 Kafka bridge, then property files for that.
If you want to externalize config into regular Java .properties file, you can, or you can pull values from environment variables, if you follow 12-factor principles.
But if you don't already have Spring Boot dependencies, then I do not think adding them is worth it for only Kafka.
Also, the Spring-Kafka documentation covers how to configure your app without Boot.
I tried to migrate the springboot application to the Dropwizard. However, I now have a problem that there is no framework in the Dropwizard that supports working with Cassandra databases, such as CRUD operations. Do any of you have any good suggestions?
I have a Spring Boot application that uses Spring Batch. I want now to implement an admin panel to see all job statuses. For this, Spring has "spring-batch-admin" But I see that is deprecated long time ago:
The functionality of Spring Batch Admin has been mostly duplicated
and
expanded upon via Spring Cloud Data Flow and we encourage all users to
migrate to that going forward.
But then Spring Cloud Data Flow says:
Pipelines consist of Spring Boot apps, built using the Spring Cloud
Stream or Spring Cloud Task microservice frameworks
So in order to use this functionality do I really need to convert my spring boot app to a microservice? Isn't this an overkill just to see some batch statuses? Also I can not install docker on my production server(for various reasons) Can I still use Spring Cloud Data Flow without docker?
Yes, spring boot batch should be wrapped as spring cloud task, which should not be too complicated.
If Docker does not suit your needs - https://docs.spring.io/spring-cloud-dataflow/docs/current/reference/htmlsingle/#getting-started-local-deploying-spring-cloud-dataflow
I've this requirement where I need to make use of Cassandra 2.0.x built-in Logging functionality within my spring web application.
Can somebody tell me what all steps do I need to follow to achieve the same?
Thanks in advance
i am writing a web application with jsf 2.0 and using primefaces framework.
i want to use mongodb as my database and "getting started" guide for mongodb is just explaining the basic java usage.
I did make it work with "public static void main(String[] args)" but unfortunately not for my web application.
it would help a lot if u could help with one of these;
"the mongodb connection for jsf 2.0" in a pseudo code or
where should the connection be defined in the project? (xml,java)
will i need any other framework to make it work ? (looked little bit to morphia)
thanks in advance :)
I would suggest you to go with JSF 2.0 and Spring integration, and along with this use Spring Data MongoDB
using the above two integrations, you would be seamlessly integrate mongodb in your web app.
If you are using spring framework, you can use Spring Data MongoDB.
There is very good documentation to get you started.