Program to publish data using aws-sns is working in ubuntu 14.04 LTS.But the package for the same program does not work in openwrt environment.I know the problem is with configuration file,we have to set an aws configuration file in linux to ~/.aws/ in the file credentials.Where should i add this credentials if i use opewrt?And can i use amazon web services like sns without this configuration file?
Related
I have installed kafka on docker in windows, which is running as below screenshot and I have installed "Amazon S3 Source Connector" by using this link
https://docs.confluent.io/kafka-connect-s3-source/current/index.html#quick-start.
My Questions are :
i)How do I execute command to see all kakfa topics ( not through GUI)
ii)How do I check if S3 source connector is installed property (I mean location or cli..)
iii) And link also specifes to create and use "quickstart-s3source.properties" where do i do this? On my desktop on docker?
Regarding your question title, that source connector does not read arbitrary S3 data, only that written by the S3 sink
execute command to see all kakfa topics
kafka-topics --list
check if S3 source connector is installed
You're only running the datagen connector, which doesn't include the S3 source, but you'd use the /connector-plugins endpoint of the Connect server
specifes to create and use "quickstart-s3source.properties"
You need to convert this to JSON since Docker runs a distributed connect server, and those quickstart files are meant to be used with standalone. It doesn't matter where you create the file as long as it's given to the Connect server via HTTP POST
I am currently running a rails application and a SpringBoot configuration service in the same local network. Is it possible to configure rails to use the config files provided by the service in Springboot?
More specifically I am looking to fetch the database connection and user data via the service and let rails connect to a remote database.
The service provides theses files via http as json or yml.
Thank you.
Edit: Solved it by using a bash script with wget to pull and assemble config files manually via container scripts that are executed before each deploy.
I have a Dropwizard application that works fine locally, but I can not figure out how to deploy it into my Jelastic environment.
I read "Hosting Spring Boot Standalone and Clustered Java Applications with Jelastic Cloud" tutorial but seems like it is more focused on Spring Boot applications. To run my DropWizard app I need to execute
java -jar myJar.jar server config.yml
but from the tutorial it seems that Elastic just executes the jar without providing "server" and "config.yml" parameters.
So when I upload and deploy my jar file (I tried both, jar and zip approaches) all I can see in the output is
Node ID : XXXXX
-----------------------
Deploy failed
/opt/repo/jelastic/scripts/deploy.sh line 66 clearCache command not found
zipinfo cannot find or open /, /.zip or /.ZIP.
zipinfo cannot find or open /, /.zip or /.ZIP.
Error Nothing to run
and SpringBoot log is empty.
Can you please tell me is there a way to deploy a DropWizard application, or the only way to deploy it is using docker registry?
To provide parameters to your application you need to edit file variables.conf from your dashboard, then just restart the application
I am trying to use the new feature of PHPStorm, which is to develop PHP app using docker.
I have installed the docker integration plugin for PHPStorm, when I try to define the Clouds settings, I get this error:
cannot connect: com.github.dockerjava.api.NotFoundException
I have checked the app, and its running in the browser normally at:
http://192.168.99.100:8090/
I didn't specify the certificates folder, as I am using http not https locally.
Any idea? I am on windows 10, I have installed jdk-7u79-windows-x64, I tried both 32, 64 versions, I got the same error..
Although the machine is up and running..
Try that:
The fastest way to connect is via ssh to the interpreter(Like vagrant):
Follow: https://hub.docker.com/r/jorge07/php7-xdebug-ssh/
Once machine is up:
Add remote interpreter:
Languages & frameworks > PHP
(Note that php executable in on: /usr/local/bin/php)
Now add a sftp service:
Build, Execution, Deployment > Deployment
Connect to machine by ssh and map your code folder with the /app folder on interpreter container.
Once you finish, you are done. Good luck!
I see here that it's possible to map your dev tools to a file on your local machine. If I'm hosting a website(or Rails application) on an Amazon EC2 instance, is it possible to do the same thing? Will I have to map to a local file, and then somehow map that file to the same one on the server? If so, how and what tools need I use?