GitHub user ZY945 added a comment to the discussion: How to manually register 
drivers to avoid registering every time a connection is made

> I tried to import plc4j into the collector and found that the driver is 
> registered every time it is called, which is a very time-consuming process. 
> Is there a way to manually register to avoid repeated registration <img 
> alt="image" width="1410" 
> src="https://private-user-images.githubusercontent.com/74083801/391224323-48b91d22-8dac-45d8-bb73-87c62316003b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzI5NTcxODUsIm5iZiI6MTczMjk1Njg4NSwicGF0aCI6Ii83NDA4MzgwMS8zOTEyMjQzMjMtNDhiOTFkMjItOGRhYy00NWQ4LWJiNzMtODdjNjIzMTYwMDNiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDExMzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMTMwVDA4NTQ0NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA3MzkxNzA1YTRjYzA0MDk4MmM5MGU5MTBmODNjYWU4ZTEyMTg5ODhiZDFjMjI0M2Y3YTgyMDNjMGIwNGFlNGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.eE74K7Qc98-
 4iD7OZYI0_DYa8-7oZiUYZUoRyw68u8s">

https://plc4x.apache.org/plc4x/0.12.0/users/tools/connection-cache.html
I found a document with a cached connection, I will try this one

GitHub link: 
https://github.com/apache/plc4x/discussions/1919#discussioncomment-11421088

----
This is an automatically sent email for dev@plc4x.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@plc4x.apache.org

Reply via email to