How can I use Scala ZIO external library in Cloud Data Fusion pipeline? - scala

I have downloaded the Jar for Zio library from link: https://jar-download.com/artifacts/dev.zio , But I am not sure how I can import same to build my pipelines.
Can anyone please help me on same.
Thanks in advance.

Related

Does spring native support spring-boot-starter-data-elasticsearch dependency?

I am trying to build a spring native image with ‘spring-boot-starter-data-elasticsearch’ dependency which uses RestHighLevelClient to interact with elasticsearch.
It turns out I always receive ‘connection refused’ exception. Any idea why this happens?
Note: My application is deployed in AWS Lambda.
Any help is much appreciated. Thanks in advance.

trying to execute s3-sqs qubole connector for spark structured streaming

I am trying to follow, https://github.com/qubole/s3-sqs-connector and trying to load the connector but seems like the connector is not available on maven and while generating the buiold manually the sqs classes are not loaded.
Can some1 guide me on this.
Thanks,
Dipesh
Update:
S3-SQS connector is now released on maven central.
https://mvnrepository.com/artifact/com.qubole/spark-sql-streaming-sqs
You should be able to use it now. Get back to us if you face any problems.
Unfortunately, registration of the s3-sqs-connector in spark-packages is still pending. We'll try to release the package in maven central directly as soon as possible but it should take a few days at the very least.
In the meantime, you can clone the repository and build the jar yourself if required.

Import Azure Storage Library to Eclipse, Java

I'm a novice to coding and cloud storage and need some step by step guidance on how to set up my Eclipse so I could start working with Microsoft Azure Cloud storage.
So basically I'm following this tutorial for Azure file storage https://learn.microsoft.com/en-au/azure/storage/files/storage-java-how-to-use-file-storage
But when I tried to import the library to in my Eclipse, I got the error "the import cannot be resolved"
// Include the following imports to use blob APIs.
import com.microsoft.azure.storage.*;
import com.microsoft.azure.storage.file.*;
I guess I am missing some libraries. I previously learnt to adds some external libraries though Jar files, I searched for Jar for Azure cloud, but couldn't find any. This page seems relevant but I don't know how to use it. https://github.com/azure/azure-storage-java
Can someone please shed some light?
Thanks a lot.
I solved it.
For other novice programmer going through the same struggle, here is how I did it
1.Install Azure Toolkit for Eclipse, follow: https://learn.microsoft.com/en-us/java/azure/eclipse/azure-toolkit-for-eclipse-installation
2.Restart Eclipse
3.Rightclick the project you want to use the Azure library, then Properties>>Java Build Path>>Libraries tab>> Add Library>> Select Package for Microsoft Azure Libraries for Java>>Finish

Using MongoDb as persistence for IdentityServer3

I want to use MongoDb to save all the scope/user/client information for IdentityServer3. However, it seems there is little documentation for external storage configurations.
I also tried using this Nuget package: IdentityServer.v3.MongoDb. It seems it is a bit out dated and not work for my project. Anyone have some luck using that package? Or anyone can show some example to implement an external storage for IdentityServer3?
Thanks in advance!

Trying to create Web Service client in Eclipse

I have followed the small tutorial for creating a web service client in eclipse:
http://px.pats.no/px/Eclipse_tutorial.html
However, I relaized that I do not have the following classes which I believe is used to access the web services. I am getting an error message.
import org.csapi.www.schema.parlayx.common.v2_1.PolicyException;
import org.csapi.www.schema.parlayx.terminal_location.v2_2.LocationInfo;
import org.csapi.www.wsdl.parlayx.terminal_location.v3_0.service.TerminalLocation;
import org.csapi.www.wsdl.parlayx.terminal_location.v3_0.service.TerminalLocationServiceLocator;
I would really appreciate any help. Thanks in advance!
You need to add 2 jars of parlays in your application.
You might be having them already if you are tutorial has mentioned it or alternatively you can download it from :
http://www.findjar.com/index.x;jsessionid=96A5E1162D798BCF3CB77305955A359E?query=parlayx
or [http://www.parlayx.com/][2]
[2]: http://www.parlayx.com/
do watch out for versions of jars as package/class names might be different and you will have to change them accordingly
I've found this tutorial useful. It uses Axis for the client.