blob: bcf635b292b3f1db6275740978e4b8eaa0d97100 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Built-in Strategy on ElasticJob</title>
<link>https://shardingsphere.apache.org/elasticjob/current/en/user-manual/elasticjob-lite/configuration/built-in-strategy/</link>
<description>Recent content in Built-in Strategy on ElasticJob</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<atom:link href="https://shardingsphere.apache.org/elasticjob/current/en/user-manual/elasticjob-lite/configuration/built-in-strategy/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Job Sharding Strategy</title>
<link>https://shardingsphere.apache.org/elasticjob/current/en/user-manual/elasticjob-lite/configuration/built-in-strategy/sharding/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://shardingsphere.apache.org/elasticjob/current/en/user-manual/elasticjob-lite/configuration/built-in-strategy/sharding/</guid>
<description>Average Allocation Strategy Type: AVG_ALLOCATION
Sharding or average by sharding item.
If the job server number and sharding count cannot be divided, the redundant sharding item that cannot be divided will be added to the server with small sequence number in turn.
For example:
If there are 3 job servers and the total sharding count is 9, each job server is divided into: 1=[0,1,2], 2=[3,4,5], 3=[6,7,8]; If there are 3 job servers and the total sharding count is 8, each job server is divided into: 1=[0,1,6], 2=[2,3,7], 3=[4,5]; If there are 3 job servers and the total sharding count is 10, each job server is divided into: 1=[0,1,2,9], 2=[3,4,5], 3=[6,7,8].</description>
</item>
<item>
<title>Thread Pool Strategy</title>
<link>https://shardingsphere.apache.org/elasticjob/current/en/user-manual/elasticjob-lite/configuration/built-in-strategy/thread-pool/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://shardingsphere.apache.org/elasticjob/current/en/user-manual/elasticjob-lite/configuration/built-in-strategy/thread-pool/</guid>
<description>CPU Resource Strategy Type: CPU
Use CPU available processors * 2 to create thread pool.
Single Thread Strategy Type: SINGLE_THREAD
Use single thread to execute job.</description>
</item>
<item>
<title>Error Handler Strategy</title>
<link>https://shardingsphere.apache.org/elasticjob/current/en/user-manual/elasticjob-lite/configuration/built-in-strategy/error-handler/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://shardingsphere.apache.org/elasticjob/current/en/user-manual/elasticjob-lite/configuration/built-in-strategy/error-handler/</guid>
<description>Log Strategy Type: LOG
Built-in: Yes
Log error and do not interrupt job.
Throw Strategy Type: THROW
Built-in: Yes
Throw system exception and interrupt job.
Ignore Strategy Type: IGNORE
Built-in: Yes
Ignore exception and do not interrupt job.
Email Notification Strategy Type: EMAIL
Built-in: No
Send email message notification and do not interrupt job.
Maven POM:
&amp;lt;dependency&amp;gt; &amp;lt;groupId&amp;gt;org.apache.shardingsphere.elasticjob&amp;lt;/groupId&amp;gt; &amp;lt;artifactId&amp;gt;elasticjob-error-handler-email&amp;lt;/artifactId&amp;gt; &amp;lt;version&amp;gt;${latest.release.version}&amp;lt;/version&amp;gt; &amp;lt;/dependency&amp;gt; Configuration:
Name Description Default Value host TODO None port TODO None username TODO None password TODO None useSsl TODO None subject TODO ElasticJob error message from TODO None to TODO None cc TODO None bcc TODO None debug TODO None Wechat Enterprise Notification Strategy Type: WECHAT</description>
</item>
</channel>
</rss>