AWS Athena – Default Profile .aws – okta

AWS Athena – Default Profile .aws – okta The query editor needs a connection and sometimes we want to use the credentials generated in .aws folder in the machine. They might have been generated by any process including Okta. You need to override the following parameters with simba driver: Credentials Provider jdbc:awsathena://;AwsCredentialsProviderClass=com.simba.athena.amazonaws.auth.profile.ProfileCredentialsProvider; Credentials Provider Argument… Continue reading »

Python – Anaconda Installation

Python – Anaconda Installation Anaconda can be downloaded from the following link: You can select the version of the installer suitable for your system. Here we are choosing the Mac version. After downloading we can run it through the Terminal. To get a list of available sub-commands run anaconda-h.

Separate log file for connector

Separate log file for connector The logs for Kafka connectors are generally added to connectDistributed.out. If you want to create a separate log file for your connector then you can update the following log4j.properties file. ../etc/kafka/connect-log4j.properties Add the following lines to the file: log4j.appender.connectorNameSpace=org.apache.log4j.RollingFileAppender log4j.appender.connectorNameSpace.DatePattern=’.’yyyy-MM-dd-HH log4j.appender.connectorNameSpace.MaxFileSize=10MB log4j.appender.connectorNameSpace.MaxBackupIndex=10 log4j.appender.connectorNameSpace.File=${kafka.logs.dir}/connect-my.log log4j.appender.connectorNameSpace.layout=org.apache.log4j.PatternLayout log4j.appender.connectorNameSpace.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L – %m%n… Continue reading »

Angular – Progressive Web Apps using Service Workers

Angular – Progressive Web Apps using Service Workers Service workers enable creating progressive web applications. It is a script running in the web browser supporting caching of the application resources. They preserve the resources even after the user closes the tab and serves them when the application is requested again. Setting up Angular Project Let’s… Continue reading »

Hyperledger Fabric – Terminology

Hyperledger Fabric – Terminology Hyperledger Fabric is private and permissioned. In order to gain access, the peers need to be enrolled through a Membership Service Provider (MSP) . It has a deterministic consensus algorithm. Asset An asset holds a state and has ownership. They are key / value pairs representing a value, which enables to… Continue reading »

Hyperledger Fabric Composer & web sandbox

Hyperledger Fabric Composer & web sandbox Hyperledger Composer is an framework that allows development of Hyperledger fabric based blockchain applications. It must be noted that it has been deprecated with Fabric 1.4 released in August 2019. This is the first long term support release for Hyperledger fabric. It is pledged by maintainers to provide bug… Continue reading »