{{theTime}}

Search This Blog

Total Pageviews

Kafka Consumer Parallelism

Kafka Parallel Consumer Options:

Key-level parallelism:  Multiple threads process the messages from a single partition in parallel while maintaining the Kafka's key-based ordering.

Unordered Parallelism:  Multiple threads will process the messages from a single partition in an arbitrary order.

Partition-level parallelism:  Partition per topic provides the no of consumers that can be executed in parallel.


SqlServer DeadLock TraceON 1204, 1222

How to check DeadLock Trace On ?
>DBCC TRACESTATUS(1204,1222)

How to Enable TraceOn to detect DeadLocks?
>DBCC TRACEON(1204,-1)
>DBCC TRACEON(1222,-1)

Windows 8.3 file naming setting is disabled for the product

To enable Windows 8.3 file naming setting use fsutil command

Example:  c:\> fsutil 8dot3name set C: 0

your current security settings do not allow this file to be downloaded

Update the Internet Explorer Security Options to enable File Download
Goto Open Internet Explorer --> Tools -->Security Tab-->Internet Zone-->CustomLevel-->File Download -Enable.

Could not get unknown property 'release' for SigningConfig container of type org.gradle.api.internal.FactoryNamedDomainObjectContainer

 This error will be thrown when release property is not defined in the SigningConfig.

Add the release property to the build.gradle file when release type is changed to release.

signingConfigs {

     release {

          keyAlias keystoreProperties['keyAlias']

          keyPassword keystoreProperties['keyPassword']

          storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null

          storePassword keystoreProperties['storePassword']

     }

 }

buildTypes {

    release {

        signingConfig signingConfigs.release

    }

}

Algebra using Python Lambda

Write a function to multiply the number by 10 using Lambda

x = lambda a : a * 10
print(x(5))

connection problems: Client unknown

To resolve this issue while setting up the P4 Integration in IntelliJ, update the workspace name as client. 
To open the settings, use the shortcut key Ctrl+Alt S.


 

Kafka Consumer Parallelism

Kafka Parallel Consumer Options: Key-level parallelism:  Multiple threads process the messages from a single partition in parallel while ma...